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/extras/integrations
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
..
callbacks mv popular and additional chains to use cases (#8242) 1 year ago
chat add anthropic functions wrapper (#8475) 1 year ago
document_loaders mv dropbox (#8438) 1 year ago
document_transformers
llms Wfh/ref links (#8454) 1 year ago
memory
providers Wfh/ref links (#8454) 1 year ago
retrievers
text_embedding Wfh/ref links (#8454) 1 year ago
toolkits Github add "Create PR" tool + Docs update (#8235) 1 year ago
tools Wfh/ref links (#8454) 1 year ago
vectorstores Fix ChromaDB integration -> docker container instructions (#8447) 1 year ago