RealtimeOutputGuardrail
此内容尚不支持你的语言。
Extends
Section titled “Extends”OutputGuardrail
Properties
Section titled “Properties”execute
Section titled “execute”execute: OutputGuardrailFunction<"text">;The function that performs the guardrail check.
Inherited from
Section titled “Inherited from”OutputGuardrail.executename: string;The name of the guardrail.
Inherited from
Section titled “Inherited from”OutputGuardrail.namepolicyHint?
Section titled “policyHint?”optional policyHint: string;This will be passed to the model to inform it about why the guardrail was triggered and to correct the behavior. If it’s not specified the name of your guardrail will be passed instead.