minhvtt commited on
Commit
05351f2
verified
1 Parent(s): a784580

Update chatbot_rag_api.py

Browse files
Files changed (1) hide show
  1. chatbot_rag_api.py +2 -1
chatbot_rag_api.py CHANGED
@@ -95,8 +95,9 @@ class ChatbotRAGService:
95
  )
96
 
97
  # Qdrant
 
98
  self.qdrant_service = QdrantVectorService(
99
- collection_name="chatbot_rag_vectors",
100
  vector_size=self.embedding_service.get_embedding_dimension()
101
  )
102
 
 
95
  )
96
 
97
  # Qdrant
98
+ collection_name = os.getenv("COLLECTION_NAME","event_social_media")
99
  self.qdrant_service = QdrantVectorService(
100
+ collection_name= collection_name,
101
  vector_size=self.embedding_service.get_embedding_dimension()
102
  )
103