Documentation Index
Fetch the complete documentation index at: https://docs.praison.ai/llms.txt
Use this file to discover all available pages before exploring further.
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
Create a new OCRConfig
pages
fn pages(mut self, pages: Vec<u32>) -> Self
Set pages to process
Parameters:
| Name | Type |
|---|
pages | Vec<u32> |
image_limit
fn image_limit(mut self, limit: u32) -> Self
Set image limit
Parameters:
Source
View on GitHub
praisonai/src/agents/mod.rs at line 561