Update rule + flow hdfs new

This commit is contained in:
2026-09-23 11:36:34 +07:00
parent c79ea9f05f
commit 0e15bc89a8
10 changed files with 159 additions and 35 deletions

View File

@@ -8,6 +8,7 @@ class Settings:
data_dir: Path = Path(os.getenv("IDP_DATA_DIR", "./data")).resolve()
storage: str = os.getenv("IDP_STORAGE", "local") # local, hdfs, or hdfs_cli
hdfs_url: str = os.getenv("IDP_HDFS_URL", "http://namenode:9870")
hdfs_native_uri: str = os.getenv("IDP_HDFS_NATIVE_URI", "")
api_key: str = os.getenv("IDP_API_KEY", "")
callback_hosts: str = os.getenv("IDP_CALLBACK_HOSTS", "")
ocr_url: str = os.getenv("IDP_OCR_URL", "http://localhost:9222/v1/chat/completions")