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

# Fallback Response • Rust AI Agent SDK

> fallback_response: Set fallback response

# fallback\_response

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

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

Set fallback response

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def fallback_response(mut self, response: impl Into<String>) -> Self
```

## Parameters

<ParamField query="response" type="impl Into<String>" required={true}>
  No description available.
</ParamField>

### Returns

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