Timothy J. Baek 6 months ago
parent
commit
3391a855f0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      backend/open_webui/apps/retrieval/utils.py

+ 1 - 1
backend/open_webui/apps/retrieval/utils.py

@@ -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,
         )