Skip to content

/AWS1/CL_BDRGDRLCHXPRATTCRSENT

The evaluation result for a single prompt attack category.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_category TYPE /AWS1/BDRGDRLCHXPROMPTATTCCAT /AWS1/BDRGDRLCHXPROMPTATTCCAT

The prompt attack category that was evaluated.

iv_severityscore TYPE /AWS1/RT_DOUBLE_AS_STRING /AWS1/RT_DOUBLE_AS_STRING

The severity score for the category, ranging from 0.0 to 1.0. Higher values indicate greater severity.


Queryable Attributes

category

The prompt attack category that was evaluated.

Accessible with the following methods

Method Description
GET_CATEGORY() Getter for CATEGORY, with configurable default
ASK_CATEGORY() Getter for CATEGORY w/ exceptions if field has no value
HAS_CATEGORY() Determine if CATEGORY has a value

severityScore

The severity score for the category, ranging from 0.0 to 1.0. Higher values indicate greater severity.

Accessible with the following methods

Method Description
GET_SEVERITYSCORE() Getter for SEVERITYSCORE, with configurable default
ASK_SEVERITYSCORE() Getter for SEVERITYSCORE w/ exceptions if field has no value
STR_SEVERITYSCORE() String format for SEVERITYSCORE, with configurable default
HAS_SEVERITYSCORE() Determine if SEVERITYSCORE has a value

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_GDRAILCHKSPRMPTATTCKRSLTLST

TYPES TT_GDRAILCHKSPRMPTATTCKRSLTLST TYPE STANDARD TABLE OF REF TO /AWS1/CL_BDRGDRLCHXPRATTCRSENT WITH DEFAULT KEY
.