Skip to main content

model_inventory

Function model_inventory 

Source
pub fn model_inventory() -> Vec<ModelEntry>
Expand description

Resolve the whole runtime model set without loading anything — the exact selection each stage performs at load time (layout honors the int8/fp32 preference, TableFormer its decoder ranking, OCR the language pair), plus the pdfium library. docling-serve exposes this at /v1/config and logs it at startup, so “the server picked up different models” is one curl away instead of a mystery of dissolved tables. Resolution is CWD-relative with an exe-dir fallback, so the answer can legitimately differ between two working directories.