mirror of
https://github.com/zylon-ai/private-gpt.git
synced 2025-12-22 10:45:42 +01:00
Use constants.py file
This commit is contained in:
parent
8c6a81a07f
commit
f12ea568e5
3 changed files with 4 additions and 4 deletions
11
constants.py
Normal file
11
constants.py
Normal 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
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue