5c48fe1fb0
Co-authored-by: Bruce MacDonald <brucewmacdonald@gmail.com>
11 lines
291 B
Python
11 lines
291 B
Python
import os
|
|
from chromadb.config import Settings
|
|
|
|
# Define the folder for storing database
|
|
PERSIST_DIRECTORY = os.environ.get('PERSIST_DIRECTORY', 'db')
|
|
|
|
# Define the Chroma settings
|
|
CHROMA_SETTINGS = Settings(
|
|
persist_directory=PERSIST_DIRECTORY,
|
|
anonymized_telemetry=False
|
|
)
|