langchain/docs/extras/ecosystem/integrations/chroma.mdx

30 lines
739 B
Plaintext
Raw Normal View History

2023-02-13 07:02:01 +00:00
# Chroma
>[Chroma](https://docs.trychroma.com/getting-started) is a database for building AI applications with embeddings.
2023-02-13 07:02:01 +00:00
## Installation and Setup
```bash
pip install chromadb
```
## VectorStore
2023-02-13 07:02:01 +00:00
There exists a wrapper around Chroma vector databases, allowing you to use it as a vectorstore,
whether for semantic search or example selection.
```python
from langchain.vectorstores import Chroma
```
For a more detailed walkthrough of the Chroma wrapper, see [this notebook](/docs/modules/data_connection/vectorstores/integrations/chroma.html)
## Retriever
See a [usage example](/docs/modules/data_connection/retrievers/how_to/self_query/chroma_self_query.html).
```python
from langchain.retrievers import SelfQueryRetriever
```