mirror of
https://github.com/hwchase17/langchain
synced 2024-11-08 07:10:35 +00:00
9975ba4124
## 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 |
||
---|---|---|
.. | ||
_templates | ||
additional_resources | ||
ecosystem | ||
guides | ||
integrations | ||
modules | ||
use_cases |