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

# Citations Mode • Rust AI Agent SDK

> citations_mode: Set citations mode

# citations\_mode

<div className="flex items-center gap-2">
  <Badge color="purple">Method</Badge>
</div>

> This is a method of the [**RAGConfig**](../classes/RAGConfig) class in the [**rag**](../modules/rag) module.

Set citations mode

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def citations_mode(mut self, mode: CitationsMode) -> Self
```

## Parameters

<ParamField query="mode" type="CitationsMode" required={true}>
  No description available.
</ParamField>

### Returns

<ResponseField name="Returns" type="Self">
  The result of the operation.
</ResponseField>

***

## Related Documentation

<CardGroup cols={2}>
  <Card title="Rust Citations" icon="quote-left" href="/docs/rust/citations" />
</CardGroup>
