/AWS1/CL_BDKGUARDRAILCONTPLY¶
Contains details about how to handle harmful content.
This data type is used in the following API operations:
CONSTRUCTOR
¶
IMPORTING¶
Optional arguments:¶
it_filters
TYPE /AWS1/CL_BDKGUARDRAILCONTFILT=>TT_GUARDRAILCONTENTFILTERS
TT_GUARDRAILCONTENTFILTERS
¶
Contains the type of the content filter and how strongly it should apply to prompts and model responses.
io_tier
TYPE REF TO /AWS1/CL_BDKGUARDRAILCONTFIL02
/AWS1/CL_BDKGUARDRAILCONTFIL02
¶
The tier that your guardrail uses for content filters.
Queryable Attributes¶
filters¶
Contains the type of the content filter and how strongly it should apply to prompts and model responses.
Accessible with the following methods¶
Method | Description |
---|---|
GET_FILTERS() |
Getter for FILTERS, with configurable default |
ASK_FILTERS() |
Getter for FILTERS w/ exceptions if field has no value |
HAS_FILTERS() |
Determine if FILTERS has a value |
tier¶
The tier that your guardrail uses for content filters.
Accessible with the following methods¶
Method | Description |
---|---|
GET_TIER() |
Getter for TIER |