Skip to content

Support a remote OpenAI-compatible API backend for chart extraction (ChartExtractionApiOptions) #3771

Description

@c-vongpaseut

Requested feature

Allow Docling's chart extraction enrichment (do_chart_extraction) to run against a remote OpenAI-compatible Chat Completions endpoint (e.g. vLLM, Ollama, TGI, LM Studio) — the same way picture description already supports remote inference via PictureDescriptionApiOptions + enable_remote_services=True.

Concretely: an API-backed variant of ChartExtractionModelOptions (e.g. ChartExtractionApiOptions) exposing url, headers, params, prompt, timeout, and concurrency, so the chart→ CSV/code/summary step can be offloaded to a self-hosted VLM behind an HTTP API instead of loading ibm-granite/granite-vision-*-chart2csv locally through transformers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions