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