Spaces:
Runtime error
Runtime error
Update chatbot/retrieval.py
Browse files- chatbot/retrieval.py +1 -1
chatbot/retrieval.py
CHANGED
@@ -41,7 +41,7 @@ def get_vector_db():
|
|
41 |
|
42 |
vector_db = Qdrant.from_documents(
|
43 |
documents = docs,
|
44 |
-
|
45 |
location=qdrant_url,
|
46 |
collection_name=collection_name,
|
47 |
api_key=api_key,
|
|
|
41 |
|
42 |
vector_db = Qdrant.from_documents(
|
43 |
documents = docs,
|
44 |
+
embedding = embedding_model,
|
45 |
location=qdrant_url,
|
46 |
collection_name=collection_name,
|
47 |
api_key=api_key,
|