Chroma(
self,
collection_name: str = _LANGCHAIN_DEFAULT_COLLECTION_NAME,
embedding_function: Optional[Embeddings]ChromaDB vector store.
To use, you should have the chromadb python package installed.
Example:
.. code-block:: python
from langchain_community.vectorstores import Chroma from langchain_community.embeddings.openai import OpenAIEmbeddings
embeddings = OpenAIEmbeddings() vectorstore = Chroma("langchain_store", embeddings)