Skip to content

Latest commit

 

History

History
43 lines (28 loc) · 1.06 KB

File metadata and controls

43 lines (28 loc) · 1.06 KB

Chroma

Since testcontainers-python :material-tag: v4.6.0

Introduction

The Testcontainers module for Chroma.

Adding this module to your project dependencies

Please run the following command to add the Chroma module to your python dependencies:

pip install testcontainers[chroma] chromadb requests

Usage example

Creating a Chroma container

Features

  • Vector similarity search
  • Document storage and retrieval
  • Metadata filtering
  • Collection management
  • Embedding storage
  • Distance metrics
  • Batch operations
  • REST API support

Configuration

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)