mirror of
https://github.com/open-webui/open-webui
synced 2024-11-22 08:07:55 +00:00
fix
This commit is contained in:
parent
a4870f4c91
commit
3391a855f0
@ -71,7 +71,7 @@ def query_doc(
|
||||
try:
|
||||
result = VECTOR_DB_CLIENT.search(
|
||||
collection_name=collection_name,
|
||||
vectors=query_embedding,
|
||||
vectors=[query_embedding],
|
||||
limit=k,
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user