file_url_field string required default: "file_url" Extracts text from a PDF or image via Azure Document Intelligence.
Reads and extracts text written inside an image or scanned document.
Receives an image file, detects the characters using Optical Character Recognition (OCR) and returns the plain text.
Essential if you ask customers to send photos of their ID, invoices or bank transfer receipts.
| name | type |
|---|---|
file_url | string |
| name | type |
|---|---|
extracted_text | string |
pages | array |
tables | array |
provider | string |
mode | string |
out — Output file_url_field string required default: "file_url" mode "read" | "layout" | "tables" required default: "read" output_field string required default: "extracted_text" memory_key string optional {
"file_url_field": "file_url",
"mode": "read",
"output_field": "extracted_text"
} ocr.done OCR extraction completed successfully.
ocr.error OCR extraction failed.