Overview
ChromaDB is an open-source vector database designed for embedding search and similarity matching. It supports embedded, local, and cloud deployments with HNSW and FLAT index types. Provider Class:ChromaProviderConfig Class:
ChromaConfig
Dependencies
Examples
Parameters
| Parameter | Type | Description | Default | Source |
|---|---|---|---|---|
collection_name | str | Name of the collection | "default_collection" | Base |
vector_size | int | Dimension of vectors | Required | Base |
distance_metric | DistanceMetric | Similarity metric (COSINE, EUCLIDEAN, DOT_PRODUCT) | COSINE | Base |
recreate_if_exists | bool | Recreate collection if it exists | False | Base |
default_top_k | int | Default number of results | 10 | Base |
default_similarity_threshold | Optional[float] | Minimum similarity score | None | Base |
connection | ConnectionConfig | Connection configuration | Required | Specific |
index | Union[HNSWIndexConfig, FlatIndexConfig] | Index type configuration | HNSWIndexConfig() | Specific |
tenant | Optional[str] | Tenant name for multi-tenancy | None | Specific |
database | Optional[str] | Database name | None | Specific |

