feat: export pipeline outputs (HTML copy + upload archiving) via EXPORT_* envs

This commit is contained in:
hyungi
2025-08-13 08:53:05 +09:00
parent 8d87b1f46b
commit ef64aaec84
3 changed files with 30 additions and 3 deletions

View File

@@ -13,6 +13,11 @@ class Settings:
english_ratio_threshold: float = float(os.getenv("ENGLISH_RATIO_THRESHOLD", "0.65"))
embedding_model: str = os.getenv("EMBEDDING_MODEL", "nomic-embed-text")
index_path: str = os.getenv("INDEX_PATH", "data/index.jsonl")
output_dir: str = os.getenv("OUTPUT_DIR", "outputs")
# Optional export targets (e.g., Synology NAS shares)
export_html_dir: str = os.getenv("EXPORT_HTML_DIR", "")
export_upload_dir: str = os.getenv("EXPORT_UPLOAD_DIR", "")
# Paperless (user will provide API details)
paperless_base_url: str = os.getenv("PAPERLESS_BASE_URL", "")