mirror of
https://github.com/langgenius/dify.git
synced 2026-09-05 00:31:19 +08:00
17 lines
948 B
Plaintext
17 lines
948 B
Plaintext
# ------------------------------------------------------------------
|
|
# Isolated KnowledgeFS remote-document parser.
|
|
#
|
|
# The same service handles PDF, Office, mail, EPUB, ODT, and RTF requests. Large PDFs additionally
|
|
# use bounded page groups: a child request contains at most SPLIT_SIZE pages, so it partitions
|
|
# locally instead of recursively splitting again. The paired KnowledgeFS client keeps a global
|
|
# remote-request limit and nests structurally or byte-heavy inputs inside the heavy-document gate.
|
|
#
|
|
# KnowledgeFS owns durable attempt retries. Keep the child retry loop disabled so one parser
|
|
# failure cannot multiply retries at both layers.
|
|
# ------------------------------------------------------------------
|
|
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
|