Spaces:
Sleeping
Sleeping
Update vectordb_utils.py
Browse files- vectordb_utils.py +1 -1
vectordb_utils.py
CHANGED
@@ -13,7 +13,7 @@ os.makedirs(cache_dir, exist_ok=True)
|
|
13 |
api_key=os.environ.get("QDRANT_API_KEY")
|
14 |
# Encoder and Qdrant config
|
15 |
encoder = SentenceTransformer("all-MiniLM-L6-v2", cache_folder=cache_dir)
|
16 |
-
|
17 |
url="https://b4e91bde-3e30-43ef-968e-c10a43f2e161.eu-west-2-0.aws.cloud.qdrant.io:6333",
|
18 |
api_key=api_key,
|
19 |
)
|
|
|
13 |
api_key=os.environ.get("QDRANT_API_KEY")
|
14 |
# Encoder and Qdrant config
|
15 |
encoder = SentenceTransformer("all-MiniLM-L6-v2", cache_folder=cache_dir)
|
16 |
+
qdrant = QdrantClient(
|
17 |
url="https://b4e91bde-3e30-43ef-968e-c10a43f2e161.eu-west-2-0.aws.cloud.qdrant.io:6333",
|
18 |
api_key=api_key,
|
19 |
)
|