Spaces:
Running
Running
Download src/vectorstores/chroma_settings.py from TalatMasud/chatbot-backend: direct link, hf CLI and curl.
- Browser
- Download file 334 Bytes
-
https://huggingface.co/spaces/TalatMasud/chatbot-backend/resolve/main/src/vectorstores/chroma_settings.py
- Command line
-
hf download hf://spaces/TalatMasud/chatbot-backend/src/vectorstores/chroma_settings.py
-
curl -L -o chroma_settings.py https://huggingface.co/spaces/TalatMasud/chatbot-backend/resolve/main/src/vectorstores/chroma_settings.py
334 Bytes
| # src/vectorstores/chroma_settings.py | |
| """ | |
| Shared settings for ChromaDB to ensure consistency across the application | |
| """ | |
| import chromadb | |
| def get_chroma_settings(): | |
| """Get consistent ChromaDB settings""" | |
| return chromadb.Settings( | |
| allow_reset=True, | |
| is_persistent=True, | |
| anonymized_telemetry=False | |
| ) | |