Skip to content

Chroma Adapters

memio.providers.chroma.ChromaDocumentAdapter

DocumentStore implementation backed by ChromaDB.

Uses a chromadb collection for vector storage and semantic search. Similarity scores are computed as 1.0 / (1.0 + distance). All synchronous chromadb calls are offloaded to a thread to avoid blocking the event loop.

Parameters:

Name Type Description Default
client

A chromadb client instance (EphemeralClient or PersistentClient).

required
collection_name str

Name of the Chroma collection to use or create.

required