Spaces:
Sleeping
Sleeping
Update vectordb_utils.py
Browse files- vectordb_utils.py +4 -1
vectordb_utils.py
CHANGED
|
@@ -13,7 +13,10 @@ os.makedirs(cache_dir, exist_ok=True)
|
|
| 13 |
|
| 14 |
# Encoder and Qdrant config
|
| 15 |
encoder = SentenceTransformer("all-MiniLM-L6-v2", cache_folder=cache_dir)
|
| 16 |
-
|
|
|
|
|
|
|
|
|
|
| 17 |
collection_name = "customer_support_docsv1"
|
| 18 |
|
| 19 |
# Initialize collection
|
|
|
|
| 13 |
|
| 14 |
# Encoder and Qdrant config
|
| 15 |
encoder = SentenceTransformer("all-MiniLM-L6-v2", cache_folder=cache_dir)
|
| 16 |
+
qdrant_client = QdrantClient(
|
| 17 |
+
url="https://b4e91bde-3e30-43ef-968e-c10a43f2e161.eu-west-2-0.aws.cloud.qdrant.io:6333",
|
| 18 |
+
api_key="<your-token>",
|
| 19 |
+
)
|
| 20 |
collection_name = "customer_support_docsv1"
|
| 21 |
|
| 22 |
# Initialize collection
|