GuardrailContentPolicyConfig
Contains details about how to handle harmful content.
Contents
- filtersConfig
-
Contains the type of the content filter and how strongly it should apply to prompts and model responses.
Type: Array of GuardrailContentFilterConfig objects
Array Members: Minimum number of 1 item. Maximum number of 6 items.
Required: Yes
- tierConfig
-
The tier that your guardrail uses for content filters.
Type: GuardrailContentFiltersTierConfig object
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: