> ## 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.

# Auto RAG Config • AI Agent SDK

> AutoRagConfig: Configuration for AutoRagAgent.

# AutoRagConfig

> Defined in the [**Auto RAG Agent**](../modules/auto_rag_agent) module.

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

Configuration for AutoRagAgent.

## Properties

<ResponseField name="retrieval_policy" type="RetrievalPolicy">
  No description available.
</ResponseField>

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

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

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

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

<ResponseField name="citations_mode" type="str">
  No description available.
</ResponseField>

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

<ResponseField name="auto_keywords" type="Set">
  No description available.
</ResponseField>

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

<Accordion title="Internal & Generic Methods">
  * **from\_dict**: Create from dictionary.
  * **to\_dict**: Serialize to dictionary.
</Accordion>

## Source

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

***

## Related Documentation

<CardGroup cols={2}>
  <Card title="RAG Concept" icon="magnifying-glass" href="/docs/concepts/rag" />

  <Card title="RAG Overview" icon="database" href="/docs/rag/overview" />

  <Card title="Chunking Strategies" icon="scissors" href="/docs/rag/strategies/overview" />

  <Card title="Configuration Overview" icon="gear" href="/docs/configuration/index" />

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