feat: Paperless integration (content endpoint, list+sync). Add /paperless/sync and docs

This commit is contained in:
hyungi
2025-08-13 08:02:59 +09:00
parent bcb1e543e6
commit 4c81686657
4 changed files with 107 additions and 8 deletions

View File

@@ -10,6 +10,7 @@ class Settings:
base_model: str = os.getenv("BASE_MODEL", "qwen2.5:7b-instruct")
boost_model: str = os.getenv("BOOST_MODEL", "qwen2.5:14b-instruct")
english_model: str = os.getenv("ENGLISH_MODEL", "llama3:8b-instruct")
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")