validate • Rust AI Agent SDK

validate: Validate the output asynchronously

validate

Async

Method

</div>

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

Validate the output asynchronously

Signature

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

Parameters

ParamField &str

No description available.

Returns

ResponseField GuardrailResult

The result of the operation.