We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6eb1647 commit 844992aCopy full SHA for 844992a
engine/clients/chroma/configure.py
@@ -37,7 +37,7 @@ def recreate(self, dataset: Dataset, collection_params):
37
params = self.collection_params
38
params["metadata"] = dict(
39
{"hnsw:space": self.DISTANCE_MAPPING.get(dataset.config.distance)},
40
- **params.get("config", {}),
+ **params.pop("config", {}),
41
)
42
self.client.create_collection(
43
name=CHROMA_COLLECTION_NAME,
0 commit comments