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.


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