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