> ## Documentation Index
> Fetch the complete documentation index at: https://praison.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# O C R Config • AI Agent SDK

> OCRConfig: Configuration for OCR settings.

# OCRConfig

> Defined in the [**Ocr Agent**](../modules/ocr_agent) module.

<Badge color="blue">AI Agent</Badge>

Configuration for OCR settings.

## Properties

<ResponseField name="include_image_base64" type="bool">
  No description available.
</ResponseField>

<ResponseField name="pages" type="Optional">
  No description available.
</ResponseField>

<ResponseField name="image_limit" type="Optional">
  No description available.
</ResponseField>

<ResponseField name="timeout" type="int">
  No description available.
</ResponseField>

<ResponseField name="api_base" type="Optional">
  No description available.
</ResponseField>

<ResponseField name="api_key" type="Optional">
  No description available.
</ResponseField>

<Accordion title="Internal & Generic Methods">
  * **to\_dict**: Convert to dictionary for LiteLLM calls.
</Accordion>

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/agent/ocr_agent.py#L21">
  `praisonaiagents/agent/ocr_agent.py` at line 21
</Card>

***

## Related Documentation

<CardGroup cols={2}>
  <Card title="Configuration Overview" icon="gear" href="/docs/configuration/index" />

  <Card title="Agent Config" icon="robot" href="/docs/configuration/agent-config" />
</CardGroup>
