Fallback Response • Rust AI Agent SDK

fallback_response: Set fallback response

fallback_response

Method

</div>

This is a method of the GuardrailConfig class in the guardrails module.

Set fallback response

Signature

python
def fallback_response(mut self, response: impl Into<String>) -> Self

Parameters

ParamField impl Into&lt;String&gt;

No description available.

Returns

ResponseField Self

The result of the operation.