You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
merge_blocks_before_md: merge blocks before Markdown export
label_mapping
ignore: labels ignored during Markdown export
image: labels skipped by VLM; crops saved to imgs/ if save_images is true
table: labels processed with VLM table prompt
formula: labels processed with VLM formula prompt
others default to ocr
VLM section
vlm
Key
Type
Default
Description
type
string
required
VLM backend id (e.g. openai).
config
object
{}
Backend-specific settings passed through.
metrics
list
[]
Enabled metric types; only these blocks are sent to VLM.
vlm.config (OpenAI-compatible)
model_name
api_key / base_url (can be ${OPENAI_API_KEY} / ${OPENAI_API_BASE_URL})
max_tokens, temperature, timeout
text_before_image
Environment variables
Config.from_yaml resolves ${VAR} placeholders using environment variables from .env.
Backward compatibility
If experiment.output_dir is present and output.output_dir is missing, the loader will still use it.
If both are omitted, it falls back to PROJECT_ROOT/results/<experiment.name> (with experiment.name defaulting to default), and the json/ and imgs/ subfolders are created automatically.