private-gpt/constants.py

11 lines
284 B
Python

from chromadb.config import Settings
# Define the folder for storing database
PERSIST_DIRECTORY = 'db'
# Define the Chroma settings
CHROMA_SETTINGS = Settings(
chroma_db_impl='duckdb+parquet',
persist_directory=PERSIST_DIRECTORY,
anonymized_telemetry=False
)