跳转到内容

OutputGuardrail

此内容尚不支持你的语言。

A guardrail that checks the output of the agent.

Type Parameter Default type

TOutput extends AgentOutputType

TextOutput

execute: OutputGuardrailFunction<TOutput>;

The function that performs the guardrail check.


name: string;

The name of the guardrail.