GuardrailContentFilterConfigArgs

data class GuardrailContentFilterConfigArgs(val inputStrength: Output<GuardrailFilterStrength>, val outputStrength: Output<GuardrailFilterStrength>, val type: Output<GuardrailContentFilterType>) : ConvertibleToJava<GuardrailContentFilterConfigArgs>

Content filter config in content policy.

Constructors

Link copied to clipboard
constructor(inputStrength: Output<GuardrailFilterStrength>, outputStrength: Output<GuardrailFilterStrength>, type: Output<GuardrailContentFilterType>)

Properties

Link copied to clipboard

The strength of the content filter to apply to prompts. As you increase the filter strength, the likelihood of filtering harmful content increases and the probability of seeing harmful content in your application reduces.

Link copied to clipboard

The strength of the content filter to apply to model responses. As you increase the filter strength, the likelihood of filtering harmful content increases and the probability of seeing harmful content in your application reduces.

Link copied to clipboard

The harmful category that the content filter is applied to.

Functions

Link copied to clipboard
open override fun toJava(): GuardrailContentFilterConfigArgs