mirror of
https://github.com/qdrant/landing_page.git
synced 2026-09-26 14:38:30 +02:00
Update neural-search.md
Change qdrant_client.search "top" parameter for "limit" as the former is no longer compatible with current version:
File "/venvs/qdn/lib/python3.10/site-packages/qdrant_client/qdrant_client.py", line 287, in search
assert len(kwargs) == 0, f"Unknown arguments: {list(kwargs.keys())}"
AssertionError: Unknown arguments: ['top']
This commit is contained in:
@@ -258,7 +258,7 @@ from qdrant_client.models import Filter
|
||||
collection_name=self.collection_name,
|
||||
query_vector=vector,
|
||||
query_filter=city_filter,
|
||||
top=5
|
||||
limit=5
|
||||
)
|
||||
...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user