Interface: OcrConfigDto
@kortexya/reasoninglayer / OcrConfigDto
Interface: OcrConfigDto
Section titled “Interface: OcrConfigDto”Defined in: src/types/ingestion.ts:422
Configuration for document parsing (OCR).
Properties
Section titled “Properties”enableFallback?
Section titled “enableFallback?”
optionalenableFallback?:boolean
Defined in: src/types/ingestion.ts:424
Fall back to alternative parser on failure.
extractImages?
Section titled “extractImages?”
optionalextractImages?:boolean
Defined in: src/types/ingestion.ts:426
Extract embedded images.
extractTables?
Section titled “extractTables?”
optionalextractTables?:boolean
Defined in: src/types/ingestion.ts:428
Extract tables as markdown.
forceOcr?
Section titled “forceOcr?”
optionalforceOcr?:boolean
Defined in: src/types/ingestion.ts:430
Force OCR even for text-based PDFs.
languages?
Section titled “languages?”
optionallanguages?:string[]
Defined in: src/types/ingestion.ts:432
Language hints for OCR (ISO 639-1 codes).
parser?
Section titled “parser?”
optionalparser?:DocumentParser
Defined in: src/types/ingestion.ts:434
Primary parser to use.
useLlmEnhancement?
Section titled “useLlmEnhancement?”
optionaluseLlmEnhancement?:boolean
Defined in: src/types/ingestion.ts:436
Use LLM to improve table/formula accuracy.