Skip to main content

Crate bitrouter_guardrails

Crate bitrouter_guardrails 

Source

Structs§

BlockMessageConfig
Controls what information is included in block error messages.
CustomPatternDef
Configuration for a user-defined custom pattern.
GuardedRouter
A LanguageModelRouter wrapper that applies guardrail inspection to every model returned by the inner router.
Guardrail
The guardrail engine.
GuardrailConfig
Top-level guardrail configuration, embedded in the bitrouter config under the guardrails key.

Enums§

Action
The action to take when a guardrail pattern matches.
PatternDirection
Direction for a custom pattern.
PatternId
Unique identifier for a built-in pattern.