docling-studio/document-parser
Pier-Jean Malandrino e0f8e81b63 feat: enable chunking in remote (Docling Serve) mode
Hybrid approach: reuse LocalChunker to chunk the DoclingDocument JSON
returned by Serve, so chunking works identically in both local and
remote modes without calling Serve's chunk endpoint.

Backend:
- _build_chunker() always returns LocalChunker (remove engine guard)
- Use docling-core[chunking] extra for required dependencies
- Skip client-side batching in remote mode (Serve manages its own
  resources, and batching discards document_json needed for chunking)
- Fix Serve form fields: remove generate_page_images (not a Serve
  field), use repeated form keys for to_formats and page_range
- Log Serve error response body on 4xx/5xx for diagnosis
- Fix FastAPI 204 DELETE routes missing response_model=None

Frontend:
- Update chunking feature flag to enable Prepare UI in remote mode

Closes #51
2026-04-29 14:00:00 +02:00
..
api feat: enable chunking in remote (Docling Serve) mode 2026-04-29 14:00:00 +02:00
domain refactor: centralize magic numbers for page dimensions, limits, and timeout (#168) 2026-04-29 14:00:00 +02:00
infra feat: enable chunking in remote (Docling Serve) mode 2026-04-29 14:00:00 +02:00
persistence feat: add hexagonal architecture tests with pytestarch (#177) 2026-04-29 14:00:00 +02:00
services feat: enable chunking in remote (Docling Serve) mode 2026-04-29 14:00:00 +02:00
tests feat: enable chunking in remote (Docling Serve) mode 2026-04-29 14:00:00 +02:00
.dockerignore Work on full Docker integration 2026-03-17 13:33:36 +01:00
conftest.py Format backend codebase with ruff 2026-04-02 12:33:07 +02:00
Dockerfile Fix RapidOCR model download permission in local image 2026-04-03 10:44:20 +02:00
main.py feat: enable chunking in remote (Docling Serve) mode 2026-04-29 14:00:00 +02:00
package-lock.json Add slide on side bar in Studio mode 2026-03-20 16:24:38 +01:00
pyproject.toml Add qualityt check and contributing doc 2026-03-21 15:34:54 +01:00
pytest.ini Add a stronger testing strategy 2026-03-18 14:46:37 +01:00
requirements-local.txt Move bbox.py from domain/ to infra/ and unify coordinate logic 2026-04-03 13:17:26 +02:00
requirements-test.txt feat: add hexagonal architecture tests with pytestarch (#177) 2026-04-29 14:00:00 +02:00
requirements.txt feat: enable chunking in remote (Docling Serve) mode 2026-04-29 14:00:00 +02:00