@cdklabs/generative-ai-cdk-constructs
@cdklabs/generative-ai-cdk-constructs / bedrock / ContentFilter
Interface to declare a content filter.
readonly
inputStrength:ContentFilterStrength
The strength of the content filter to apply to prompts / user input.
readonly
outputStrength:ContentFilterStrength
The strength of the content filter to apply to model responses.
readonly
type:ContentFilterType
The type of harmful category that the content filter is applied to