Use constants.py file

This commit is contained in:
R-Y-M-R 2023-05-11 10:29:07 -04:00
parent 8c6a81a07f
commit f12ea568e5
3 changed files with 4 additions and 4 deletions

11
constants.py Normal file
View file

@ -0,0 +1,11 @@
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
)