feat: wire native leaudit upload flow
This commit is contained in:
@@ -0,0 +1,53 @@
|
||||
[APP]
|
||||
NAME = "LeAudit Platform"
|
||||
HOST = "0.0.0.0"
|
||||
PORT = 8096
|
||||
REGION = "default"
|
||||
CORS_ORIGINS = ["*"]
|
||||
|
||||
[JWT]
|
||||
SECRET_KEY = "gdyc-super-secrets-jjwtt-key-change-this-in-production-20250721-from-login-callback"
|
||||
ACCESS_TOKEN_EXPIRE_HOURS = 6
|
||||
ALGORITHM = "HS256"
|
||||
|
||||
[DB]
|
||||
HOST = "nas.7bm.co"
|
||||
PORT = 54302
|
||||
NAME = "leaudit_platform"
|
||||
USER = "docauditai_admin"
|
||||
PASSWORD = "zhfw*123*"
|
||||
|
||||
[REDIS]
|
||||
HOST = "nas.7bm.co"
|
||||
PORT = 63709
|
||||
DB = 10
|
||||
PASSWORD = "960818"
|
||||
KEY_PREFIX = "zhfw"
|
||||
|
||||
[OSS]
|
||||
ENDPOINT = "nas.7bm.co:9000"
|
||||
BASE_URL = "http://nas.7bm.co:9000"
|
||||
ACCESS_KEY = "44GJxXo3YjKf6NBFZrSI"
|
||||
SECRET_KEY = "vQhCdFgPngDvFJtMGALM1057pAl7acGoBAhFQ7NK"
|
||||
BUCKET = "leaudit"
|
||||
REGION = ""
|
||||
|
||||
[LLM]
|
||||
BASE_URL = "https://dashscope.aliyuncs.com/compatible-mode/v1"
|
||||
MODEL = "qwen3.5-35b-a3b"
|
||||
API_KEY = "sk-6c7466b543b947ffadc50a5d79135712"
|
||||
|
||||
[VLM]
|
||||
BASE_URL = "https://dashscope.aliyuncs.com/compatible-mode/v1"
|
||||
MODEL = "qwen3.5-35b-a3b"
|
||||
API_KEY = "sk-6c7466b543b947ffadc50a5d79135712"
|
||||
|
||||
[OCR]
|
||||
BASE_URL = "http://i-2.gpushare.com:44112/"
|
||||
TIMEOUT = 300
|
||||
|
||||
[LEAUDIT]
|
||||
RULES_DIR = "rules"
|
||||
RESCUE_MODE = "auto"
|
||||
LLM_MAX_CONCURRENCY = 5
|
||||
VLM_MAX_CONCURRENCY = 3
|
||||
Reference in New Issue
Block a user