anhkhoiphan commited on
Commit
20b5d79
verified
1 Parent(s): 9d7659b

Update chatbot/retrieval.py

Browse files
Files changed (1) hide show
  1. chatbot/retrieval.py +2 -1
chatbot/retrieval.py CHANGED
@@ -40,7 +40,8 @@ def get_vector_db():
40
  docs = load_pdf_data("data/Explorer.pdf")
41
 
42
  vector_db = Qdrant.from_documents(
43
- docs, embedding_model,
 
44
  location=qdrant_url,
45
  collection_name=collection_name,
46
  api_key=api_key,
 
40
  docs = load_pdf_data("data/Explorer.pdf")
41
 
42
  vector_db = Qdrant.from_documents(
43
+ documents = docs,
44
+ embedding_model = embedding_model,
45
  location=qdrant_url,
46
  collection_name=collection_name,
47
  api_key=api_key,