콘텐츠로 이동

InputGuardrailFunction

이 콘텐츠는 아직 번역되지 않았습니다.

type InputGuardrailFunction = (args) => Promise<GuardrailFunctionOutput>;

The function that performs the actual input guardrail check and returns the decision on whether a guardrail was triggered.

Parameter Type

args

InputGuardrailFunctionArgs

Promise<GuardrailFunctionOutput>