Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.praison.ai/llms.txt

Use this file to discover all available pages before exploring further.

Guardrail

Defined in the guardrails module.
Rust AI Agent SDK Trait for synchronous guardrail validation.

Methods

validate

fn validate(&self, output: &str) -> GuardrailResult
Validate the output Parameters:
NameType
output&str

name

fn name(&self) -> &str
Get guardrail name

Source

View on GitHub

praisonai/src/guardrails/mod.rs at line 0

Rust Guardrails

Rust Approval

Rust Security