Skip to main content

Chroma

Chroma is a database for building AI applications with embeddings.

Installation and Setupโ€‹

pip install langchain-chroma

VectorStoreโ€‹

There exists a wrapper around Chroma vector databases, allowing you to use it as a vectorstore, whether for semantic search or example selection.

from langchain_chroma import Chroma

For a more detailed walkthrough of the Chroma wrapper, see this notebook

Retrieverโ€‹

See a usage example.

from langchain.retrievers import SelfQueryRetriever
API Reference:SelfQueryRetriever

Was this page helpful?