0.3.17
[0.3.17] - 2026-04-22
Added
-
LiteparseToolset— document parsing via LiteParse- New toolset at
pydantic_deep.toolsets.liteparse - Tools:
parse_document(text extraction) andscreenshot_document(per-page images) - Reads files from any backend as bytes — works with
StateBackend,LocalBackend,DockerSandbox - Optional OCR via built-in Tesseract or pluggable HTTP server (PaddleOCR, EasyOCR)
- Lazy parser initialization — the Node.js CLI is found/installed on first tool call
- Configurable:
ocr_enabled,ocr_language,ocr_server_url,dpi,max_pages - Graceful error messages when the
liteparsepackage or Node.js CLI is not installed - Enabled via
include_liteparse=Trueincreate_deep_agent()
- New toolset at
-
liteparseoptional extra inpyproject.tomlpip install pydantic-deep[liteparse]installs the Python wrapper- Node.js >= 18 and
npm install -g @llamaindex/liteparseare required separately