Spaces:
Running
Running
Update chatbot_rag_api.py
Browse files- 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=
|
| 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 |
|