콘텐츠로 이동

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.