mirror of
https://github.com/imartinez/privateGPT.git
synced 2025-06-06 22:13:02 +00:00
15 lines
371 B
Python
15 lines
371 B
Python
import os
|
|
from dotenv import load_dotenv
|
|
from chromadb.config import Settings
|
|
|
|
load_dotenv()
|
|
|
|
# Define the folder for storing database
|
|
PERSIST_DIRECTORY = os.environ.get('PERSIST_DIRECTORY')
|
|
|
|
# Define the Chroma settings
|
|
CHROMA_SETTINGS = Settings(
|
|
chroma_db_impl='duckdb+parquet',
|
|
persist_directory=PERSIST_DIRECTORY,
|
|
anonymized_telemetry=False
|
|
) |