You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
langchain/docs
Muhammed Al-Dulaimi 9975ba4124
Fix ChromaDB integration -> docker container instructions (#8447)
## Description
This PR handles modifying the Chroma DB integration's documentation.
It modifies the **Docker container** example to fix the instructions
mentioned in the documentation.
In the current documentation, the below `client.reset()` line causes a
runtime error:

```py
...
client = chromadb.HttpClient(settings=Settings(allow_reset=True))
client.reset()  # resets the database
collection = client.create_collection("my_collection")
...
```

`Exception: {"error":"ValueError('Resetting is not allowed by this
configuration')"}`

This is due to the Chroma DB server needing to have the `allow_reset`
flag set to `true` there as well.
This is fixed by adding the `ALLOW_RESET=TRUE` to the `docker-compose`
file environment variable to the docker container before spinning it

## Issue
This fixes the runtime error that occurs when running the docker
container example code

## Tag Maintainer
@rlancemartin, @eyurtsev
1 year ago
..
api_reference Wfh/ref links (#8454) 1 year ago
docs_skeleton doc(prompts): Add redirects in Prompt subcategories pages (#8478) 1 year ago
extras Fix ChromaDB integration -> docker container instructions (#8447) 1 year ago
snippets Wfh/ref links (#8454) 1 year ago
.local_build.sh Update local script for docs build (#8377) 1 year ago
package-lock.json docs: New experimental UI for Mendable Search (#6558) 1 year ago
vercel_requirements.txt Add api cross ref linking (#8275) 1 year ago