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