Skip to content

/AWS1/CL_BDKGUARDRAILCONTPLY00

Contains details about how to handle harmful content.

CONSTRUCTOR

IMPORTING

Required arguments:

it_filtersconfig TYPE /AWS1/CL_BDKGUARDRAILCONTFIL00=>TT_GUARDRAILCONTFILTERSCONFIG TT_GUARDRAILCONTFILTERSCONFIG

Contains the type of the content filter and how strongly it should apply to prompts and model responses.

Optional arguments:

io_tierconfig TYPE REF TO /AWS1/CL_BDKGUARDRAILCONTFIL01 /AWS1/CL_BDKGUARDRAILCONTFIL01

The tier that your guardrail uses for content filters.


Queryable Attributes

filtersConfig

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_FILTERSCONFIG() Getter for FILTERSCONFIG, with configurable default
ASK_FILTERSCONFIG() Getter for FILTERSCONFIG w/ exceptions if field has no value
HAS_FILTERSCONFIG() Determine if FILTERSCONFIG has a value

tierConfig

The tier that your guardrail uses for content filters.

Accessible with the following methods

Method Description
GET_TIERCONFIG() Getter for TIERCONFIG