mirror of
https://github.com/hwchase17/langchain
synced 2024-11-06 03:20:49 +00:00
22 lines
373 B
Markdown
22 lines
373 B
Markdown
|
# langchain-chroma
|
||
|
|
||
|
This package contains the LangChain integration with Chroma.
|
||
|
|
||
|
## Installation
|
||
|
|
||
|
```bash
|
||
|
pip install -U langchain-chroma
|
||
|
```
|
||
|
|
||
|
## Usage
|
||
|
|
||
|
The `Chroma` class exposes the connection to the Chroma vector store.
|
||
|
|
||
|
```python
|
||
|
from langchain_chroma import Chroma
|
||
|
|
||
|
embeddings = ... # use a LangChain Embeddings class
|
||
|
|
||
|
vectorstore = Chroma(embeddings=embeddings)
|
||
|
```
|