OCRConfig
Defined in the agents module.Rust AI Agent SDK Configuration for OCR settings.
Fields
| Name | Type | Description |
|---|---|---|
include_image_base64 | bool | Include base64 image data in response |
pages | Option<Vec<u32>> | Specific pages to process |
image_limit | Option<u32> | Maximum number of images to process |
timeout | u32 | Timeout in seconds |
api_base | Option<String> | API base URL |
api_key | Option<String> | API key |
Methods
new
pages
| Name | Type |
|---|---|
pages | Vec<u32> |
image_limit
| Name | Type |
|---|---|
limit | u32 |
Source
View on GitHub
praisonai/src/agents/mod.rs at line 561
