mirror of
https://github.com/hwchase17/langchain
synced 2024-10-31 15:20:26 +00:00
87e502c6bc
Co-authored-by: jacoblee93 <jacoblee93@gmail.com> Co-authored-by: Harrison Chase <hw.chase.17@gmail.com>
30 lines
739 B
Plaintext
30 lines
739 B
Plaintext
# Chroma
|
|
|
|
>[Chroma](https://docs.trychroma.com/getting-started) is a database for building AI applications with embeddings.
|
|
|
|
## Installation and Setup
|
|
|
|
```bash
|
|
pip install chromadb
|
|
```
|
|
|
|
|
|
## VectorStore
|
|
|
|
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
|
|
```
|