计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
advanced-pipelines【效率与协作】Configure Docling VLM, ASR, enrichment, model-catalog, optional backend, GPU, MLX, remote-model API, and offline model workflows without triggering unsafe downloads by default.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when a task needs Docling's heavy or optional pipelines rather than the standard PDF OCR/table path.
VlmPipeline for full-page PDF conversion with DocTags or Markdown VLM output.AsrPipeline for audio/video transcription through InputFormat.AUDIO.DocumentConverter.convert, strings, URLs, streams, or failure handling: use conversion.cli-and-formats.artifacts_path basics: use pipeline-configuration.docling-serve service clients, service URLs, API keys, and service CLI routing: use remote-service-client when available. Remote model APIs embedded inside a local pipeline remain here.document-outputs.scripts/check_optional_backends.py for read-only environment preflight; it checks imports and binaries but does not instantiate models, download weights, contact model APIs, or convert documents.VlmPipeline or picture description, set enable_remote_services=True only after confirming the endpoint and data-sharing policy.docling[asr] and ffmpeg before converting audio/video.from docling.datamodel.base_models import InputFormat
from docling.datamodel.pipeline_options import VlmConvertOptions, VlmPipelineOptions
from docling.document_converter import DocumentConverter, PdfFormatOption
from docling.pipeline.vlm_pipeline import VlmPipeline
vlm_options = VlmConvertOptions.from_preset("granite_docling")
converter = DocumentConverter(
format_options={
InputFormat.PDF: PdfFormatOption(
pipeline_cls=VlmPipeline,
pipeline_options=VlmPipelineOptions(vlm_options=vlm_options),
)
}
)
from docling.datamodel import asr_model_specs
from docling.datamodel.base_models import InputFormat
from docling.datamodel.pipeline_options import AsrPipelineOptions
from docling.document_converter import AudioFormatOption, DocumentConverter
from docling.pipeline.asr_pipeline import AsrPipeline
pipeline_options = AsrPipelineOptions(asr_options=asr_model_specs.WHISPER_TURBO)
converter = DocumentConverter(
format_options={
InputFormat.AUDIO: AudioFormatOption(
pipeline_cls=AsrPipeline,
pipeline_options=pipeline_options,
)
}
)
references/vlm-asr-ocr.md for VLM conversion, ASR transcription, remote model API, and force-backend decision patterns.references/model-overview.md for model-stage selection across VLM convert, picture description, code/formula, layout, table, and ASR.references/optional-backends.md for extras, GPUs, MLX, CUDA, API runtimes, model artifacts, and offline planning.references/troubleshooting.md for missing extras, model downloads, remote-service gates, GPU/MLX issues, ffmpeg, skip behavior, and expensive runs.scripts/check_optional_backends.py for safe installed-environment checks before running advanced pipelines.