mirror of
https://github.com/hwchase17/langchain
synced 2024-11-10 01:10:59 +00:00
f8a54d1d73
**Description:** Adds chroma to the partners package. Tests & code mirror those in the community package. **Dependencies:** None **Twitter handle:** @akiradev0x --------- Co-authored-by: Erick Friis <erick@langchain.dev>
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)
|
|
```
|