Files
gsfdc/demo-dify/dify/docker/envs/core-services/knowledge-fs-unstructured-service.defaults
T
wuzilongandCursor 6519682885 chore: 纳入本地 Dify 1.19.0 源码及品牌与免登改动
演示目录只保留可重建的源码。运行密钥、数据卷、依赖和带口令的本地配置不进入仓库。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-18 13:59:25 +08:00

14 lines
860 B
Plaintext

# Runtime defaults for the isolated KnowledgeFS parser service. Page-parallel settings apply to
# PDFs; the same service also handles standard and heavy Office, mail, EPUB, ODT, and RTF inputs.
# Operator values in knowledge-fs-unstructured.env are loaded afterwards and take precedence.
# The non-.env suffix is intentional so this required file remains tracked in clean checkouts.
# Keep the pinned image's 350 DPI output and align its pre-allocation guard with the client.
# Raising DPI above 350 invalidates the client's raster-size estimate; do not disable the guard.
PDF_RENDER_DPI=350
PDF_RENDER_MAX_PIXELS_PER_PAGE=25000000
UNSTRUCTURED_PARALLEL_MODE_ENABLED=true
UNSTRUCTURED_PARALLEL_MODE_URL=http://127.0.0.1:8000/general/v0/general
UNSTRUCTURED_PARALLEL_MODE_SPLIT_SIZE=6
UNSTRUCTURED_PARALLEL_MODE_THREADS=3
UNSTRUCTURED_PARALLEL_RETRY_ATTEMPTS=0