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

# enable • Rust AI Agent SDK

> enable: Enable retrieval

# enable

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

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

Enable retrieval

## Signature

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

### Returns

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