mirror of
https://github.com/zylon-ai/private-gpt.git
synced 2025-12-22 07:40:12 +01:00
fix persist db directory at ingestion
This commit is contained in:
parent
39df61ca07
commit
01f55441e7
2 changed files with 6 additions and 3 deletions
|
|
@ -1,7 +1,11 @@
|
|||
import os
|
||||
from dotenv import load_dotenv
|
||||
from chromadb.config import Settings
|
||||
|
||||
load_dotenv()
|
||||
|
||||
# Define the folder for storing database
|
||||
PERSIST_DIRECTORY = 'db'
|
||||
PERSIST_DIRECTORY = os.environ.get('PERSIST_DIRECTORY')
|
||||
|
||||
# Define the Chroma settings
|
||||
CHROMA_SETTINGS = Settings(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue