feat: rag folder scan support

This commit is contained in:
Timothy J. Baek
2024-02-17 21:06:08 -08:00
parent 9f869f6573
commit e07001e5f6
9 changed files with 350 additions and 12 deletions

View File

@@ -43,6 +43,14 @@ Path(UPLOAD_DIR).mkdir(parents=True, exist_ok=True)
CACHE_DIR = f"{DATA_DIR}/cache"
Path(CACHE_DIR).mkdir(parents=True, exist_ok=True)
####################################
# Docs DIR
####################################
DOCS_DIR = f"{DATA_DIR}/docs"
Path(DOCS_DIR).mkdir(parents=True, exist_ok=True)
####################################
# OLLAMA_API_BASE_URL
####################################