anhkhoiphan commited on
Commit
9f24a5a
verified
1 Parent(s): b716100

Fix timeout problem

Browse files
Files changed (1) hide show
  1. chatbot/retrieval.py +2 -1
chatbot/retrieval.py CHANGED
@@ -45,7 +45,8 @@ def get_vector_db():
45
  location=qdrant_url,
46
  collection_name=collection_name,
47
  api_key=api_key,
48
- timeout=None
 
49
  )
50
  return vector_db
51
 
 
45
  location=qdrant_url,
46
  collection_name=collection_name,
47
  api_key=api_key,
48
+ port=None, # Avoid appending default port 6333
49
+ timeout=20
50
  )
51
  return vector_db
52