validate • Rust AI Agent SDK

validate: Validate the output

validate

Method

</div>

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

Validate the output

Signature

python
def validate(&self, output: &str) -> GuardrailResult

Parameters

ParamField &str

No description available.

Returns

ResponseField GuardrailResult

The result of the operation.