OptionalagentShown in logs and cost reports. Defaults to PDF Converter.
OptionalaiOverrides DOC_CONVERSION_AI_MODEL.
OptionalaiOverrides DOC_CONVERSION_AI_SERVICE.
OptionalattemptsAttempts per page before giving up. Defaults to PDF_CONVERT_PAGE_ATTEMPTS or 3.
OptionalconcurrencyHow many pages may be converted at once.
The reason this exists: converting every page concurrently is what a 146-page
document did before there was a cap, and the provider rate-limited most of
them. Defaults to PDF_CONVERT_CONCURRENCY or 20.
OptionaldocumentNoun phrase completing "Convert this page from ___", e.g. a fleet schedule.
OptionalfidelityWhat must survive verbatim, e.g. chapter and verse numbers.
OptionalfinishFinish each page's agent once it has answered. Defaults to true. Pass false when the caller wants to read costs off the agents and dispose of them itself.
OptionalonCalled as pages complete, for a caller with somewhere to show it.
OptionalpagePer-attempt timeout. Defaults to PDF_CONVERT_PAGE_TIMEOUT_MS or 2 minutes.
OptionalpromptThe prompt file within that folder. Defaults to convert_pdf_page.
OptionalpromptThe prompt folder holding the conversion prompt. Defaults to pdf_converter.
A host with its own transcription prompt points at its own folder — including a pack-qualified one — and keeps Briyah's concurrency, retry and assembly.
OptionalreasoningOptionalretryBase delay for the exponential backoff between attempts. Defaults to 1000ms.
OptionalrowPlural noun for the document's records, e.g. vehicle rows. Adds a don't-drop warning.
OptionalvariablesFurther Handlebars variables for a caller's own prompt.
How AppService.convertPdfToMarkdownPages should run.
The limits are inherited from PdfConversionOptions; everything added here is about which agent does the converting and what it is told.