Skip to content
RAGRAF

ragraf_doc_ocr

Edition: pro Capability: doc-ocr Operation page: doc_ocr

What it does

State of the OCR capability and the decision for one particular file

What problem it solves

Says in advance whether text will be recognised and why not, instead of a blank page after waiting.

How to call it

ragraf_doc_ocr()
ragraf -p config/ragraf.yaml query doc_ocr

The ellipsis stands for a value the agent supplies; optional parameters can be omitted.

Parameters

Name Type Default
pathstr''

What it returns

edition, enabled, engine, reason, state