doc_ocr
Edition: pro ragraf_doc_ocr
State of the OCR capability and the decision for one particular file
Parameters
| Name | Type | Default |
|---|---|---|
| path | str | '' |
Call example
ragraf -p config/ragraf.yaml query doc_ocr
Angle brackets mark a required parameter; defaults may be omitted.
What it returns
edition, enabled, engine, reason, state
When it refuses
An empty result is exit code 0 with found=false, not an error. Code 3 is returned only when the operation cannot run right now: for example slice when capability is not full. The reason is always named in the note field.