Uses of Enum Class
com.tnsai.annotations.OutputGuardrail.FailureAction
Packages that use OutputGuardrail.FailureAction
Package
Description
Custom annotations for the TnsAI framework.
Runtime enforcement of
InputGuardrail and
OutputGuardrail annotations declared on
@ActionSpec methods or their declaring Role classes.-
Uses of OutputGuardrail.FailureAction in com.tnsai.annotations
Methods in com.tnsai.annotations that return OutputGuardrail.FailureActionModifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static OutputGuardrail.FailureAction[]OutputGuardrail.FailureAction.values()Returns an array containing the constants of this enum class, in the order they are declared. -
Uses of OutputGuardrail.FailureAction in com.tnsai.guardrails
Methods in com.tnsai.guardrails that return OutputGuardrail.FailureActionModifier and TypeMethodDescriptionOutputGuardrailConfig.onFailure()Returns the value of theonFailurerecord component.Methods in com.tnsai.guardrails with parameters of type OutputGuardrail.FailureActionModifier and TypeMethodDescriptionOutputGuardrailConfig.Builder.onFailure(OutputGuardrail.FailureAction onFailure) Constructors in com.tnsai.guardrails with parameters of type OutputGuardrail.FailureActionModifierConstructorDescriptionOutputGuardrailConfig(int maxChars, int minChars, OutputGuardrail.FailureAction onFailure, String fallback, boolean logFailures) Creates an instance of aOutputGuardrailConfigrecord class.