chatbot-backend / src /vectorstores /chroma_settings.py
TalatMasood's picture
Updating chroma db to be singleton class
6082154
raw
history blame
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
)