Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files- app/services/chroma.py +1 -1
app/services/chroma.py
CHANGED
|
@@ -10,7 +10,7 @@ class ChromaSearcher:
|
|
| 10 |
self.api_key = token or os.environ.get("CHROMA_API_KEY", "")
|
| 11 |
self.tenant = "99526d4b-48cf-4b20-896b-0947aa36d4ab"
|
| 12 |
self.database = "QLESS2"
|
| 13 |
-
self.collection_id = "
|
| 14 |
self.url = f"https://api.trychroma.com/api/v2/tenants/{self.tenant}/databases/{self.database}/collections/{self.collection_id}/query"
|
| 15 |
|
| 16 |
async def search(self, embedding: list[float]) -> tuple[str, float] | None:
|
|
|
|
| 10 |
self.api_key = token or os.environ.get("CHROMA_API_KEY", "")
|
| 11 |
self.tenant = "99526d4b-48cf-4b20-896b-0947aa36d4ab"
|
| 12 |
self.database = "QLESS2"
|
| 13 |
+
self.collection_id = "8e924609-da78-4c85-87ed-95c05439f85e"
|
| 14 |
self.url = f"https://api.trychroma.com/api/v2/tenants/{self.tenant}/databases/{self.database}/collections/{self.collection_id}/query"
|
| 15 |
|
| 16 |
async def search(self, embedding: list[float]) -> tuple[str, float] | None:
|