Skip to content

Commit

Permalink
Update chroma doc (#66)
Browse files Browse the repository at this point in the history
  • Loading branch information
agnieszka-m authored Nov 10, 2023
1 parent dd3f1ad commit 8a4a991
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions integrations/chroma-documentstore.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: integration
name: Chroma Document Store
description: A Document Store for storing and retrieval from Chroma - built for Haystack 2.0
description: A Document Store for storing and retrieval from Chroma - built for Haystack 2.0.
authors:
- name: Massimiliano Pippi
socials:
Expand Down Expand Up @@ -34,12 +34,13 @@ version: Haystack 2.0
- [License](#license)

## Installation
Use `pip` to install Chroma:

```console
pip install chroma-haystack
```
## Usage
Once installed, you can start using your Chroma database with Haystack 2.0 by initializing it:
Once installed, initialize your Chroma database to use it with Haystack 2.0:

```python
from chroma_haystack import ChromaDocumentStore
Expand All @@ -63,7 +64,7 @@ indexing.run({"converter": {"paths": file_paths}})
```

## Examples
You can find a code example showing how to use the Document Store and the Retriever under the `example/` folder of this repo or in [this Colab](https://colab.research.google.com/drive/1YpDetI8BRbObPDEVdfqUcwhEX9UUXP-m?usp=sharing).
You can find a code example showing how to use the Document Store and the Retriever under the `example/` folder of [this repo](https://github.com/deepset-ai/haystack-core-integrations/blob/main/document_stores/chroma/example/example.py) or in [this Colab](https://colab.research.google.com/drive/1YpDetI8BRbObPDEVdfqUcwhEX9UUXP-m?usp=sharing).

## License

Expand Down

0 comments on commit 8a4a991

Please sign in to comment.