Since testcontainers-python :material-tag: v4.6.0
The Testcontainers module for Chroma.
Please run the following command to add the Chroma module to your python dependencies:
pip install testcontainers[chroma] chromadb requests- Vector similarity search
- Document storage and retrieval
- Metadata filtering
- Collection management
- Embedding storage
- Distance metrics
- Batch operations
- REST API support
The Chroma container can be configured with the following parameters:
port: Port to expose (default: 8000)version: Chroma version to use (default: "latest")persist_directory: Directory to persist data (default: None)allow_reset: Whether to allow collection reset (default: True)