read • AI Agent SDK

read: Quick OCR – extract and return markdown text.

read

Method

</div>

This is a method of the OCRAgent class in the ocr_agent module.

Quick OCR – extract and return markdown text.

Signature

python
def read(source: str) -> str

Parameters

ParamField str

URL or path to document/image

Returns

ResponseField str

Extracted text as markdown string

Uses

  • extract

Used By

Source

View on GitHub

praisonaiagents/agent/ocr_agent.py at line 267