Fix: Fixes graph completion search limit (#839)
<!-- .github/pull_request_template.md --> ## Description Fixes graph completion limit ## DCO Affirmation I affirm that all code in every commit of this pull request conforms to the terms of the Topoteretes Developer Certificate of Origin.
This commit is contained in:
parent
a874988db6
commit
f8f78773dd
1 changed files with 1 additions and 1 deletions
|
|
@ -146,7 +146,7 @@ async def brute_force_search(
|
|||
async def search_in_collection(collection_name: str):
|
||||
try:
|
||||
return await vector_engine.search(
|
||||
collection_name=collection_name, query_text=query, limit=50
|
||||
collection_name=collection_name, query_text=query, limit=0
|
||||
)
|
||||
except CollectionNotFoundError:
|
||||
return []
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue