2023-02-13 07:02:01 +00:00
|
|
|
# Chroma
|
|
|
|
|
2023-06-03 22:29:03 +00:00
|
|
|
>[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
|
|
|
|
|
2023-06-03 22:29:03 +00:00
|
|
|
```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
|
|
|
|
```
|
|
|
|
|
2023-06-16 18:52:56 +00:00
|
|
|
For a more detailed walkthrough of the Chroma wrapper, see [this notebook](/docs/modules/data_connection/vectorstores/integrations/chroma.html)
|
2023-06-03 22:29:03 +00:00
|
|
|
|
|
|
|
## Retriever
|
|
|
|
|
2023-06-16 18:52:56 +00:00
|
|
|
See a [usage example](/docs/modules/data_connection/retrievers/how_to/self_query/chroma_self_query.html).
|
2023-06-03 22:29:03 +00:00
|
|
|
|
|
|
|
```python
|
|
|
|
from langchain.retrievers import SelfQueryRetriever
|
|
|
|
```
|