OutputGuardrailResult
The result of an output guardrail execution.
Type Parameters
Section titled “Type Parameters”Type Parameter | Default type |
---|---|
|
|
|
Properties
Section titled “Properties”agent: Agent<unknown, TOutput>;
The agent that ran.
agentOutput
Section titled “agentOutput”agentOutput: ResolvedAgentOutput<TOutput>;
The output of the agent that ran.
guardrail
Section titled “guardrail”guardrail: TMeta;
The metadata of the guardrail.
output
Section titled “output”output: GuardrailFunctionOutput;
The output of the guardrail.