6 lines
667 B
Markdown
6 lines
667 B
Markdown
# Document processing
|
|
|
|
Supported extraction includes PDF, DOCX, TXT, Markdown, and PNG/JPEG/WEBP image inputs. Scanned documents can use Tesseract OCR. `/extract-text` performs size/signature checks in the web process and delegates decoding to a bounded child process; temporary work directories are removed and stale work is reconciled.
|
|
|
|
Relevant limits are configured with `PARSER_TIMEOUT_SECONDS`, `PARSER_CPU_SECONDS`, `PARSER_MEMORY_MIB`, and `PARSER_STALE_WORK_SECONDS`. `PARSER_TEMP_ROOT` is an optional local override. When a document exceeds safe limits, reject it or ask the user for a smaller/cleaner file; do not disable validation to make a parser pass.
|