/AWS1/CL_BDKAUTOMATEDRSNINGP55¶
Represents a test for validating an Automated Reasoning policy. tests contain sample inputs and expected outcomes to verify policy behavior.
CONSTRUCTOR
¶
IMPORTING¶
Required arguments:¶
iv_testcaseid
TYPE /AWS1/BDKAUTOMATEDRSNINGPLYT02
/AWS1/BDKAUTOMATEDRSNINGPLYT02
¶
The unique identifier of the test.
iv_guardcontent
TYPE /AWS1/BDKAUTOMATEDRSNINGPLYT00
/AWS1/BDKAUTOMATEDRSNINGPLYT00
¶
The output content to be validated by the policy, typically representing a foundation model response.
iv_createdat
TYPE /AWS1/BDKTIMESTAMP
/AWS1/BDKTIMESTAMP
¶
The timestamp when the test was created.
iv_updatedat
TYPE /AWS1/BDKTIMESTAMP
/AWS1/BDKTIMESTAMP
¶
The timestamp when the test was last updated.
Optional arguments:¶
iv_querycontent
TYPE /AWS1/BDKAUTOMATEDRSNINGPLYT01
/AWS1/BDKAUTOMATEDRSNINGPLYT01
¶
The input query or prompt that generated the content. This provides context for the validation.
iv_expectedaggdfndgsresult
TYPE /AWS1/BDKAUTOMATEDRSNINGCHEC00
/AWS1/BDKAUTOMATEDRSNINGCHEC00
¶
The expected result of the Automated Reasoning check for this test.
iv_confidencethreshold
TYPE /AWS1/RT_DOUBLE_AS_STRING
/AWS1/RT_DOUBLE_AS_STRING
¶
The minimum confidence level for logic validation. Content meeting this threshold is considered high-confidence and can be validated.
Queryable Attributes¶
testCaseId¶
The unique identifier of the test.
Accessible with the following methods¶
Method | Description |
---|---|
GET_TESTCASEID() |
Getter for TESTCASEID, with configurable default |
ASK_TESTCASEID() |
Getter for TESTCASEID w/ exceptions if field has no value |
HAS_TESTCASEID() |
Determine if TESTCASEID has a value |
guardContent¶
The output content to be validated by the policy, typically representing a foundation model response.
Accessible with the following methods¶
Method | Description |
---|---|
GET_GUARDCONTENT() |
Getter for GUARDCONTENT, with configurable default |
ASK_GUARDCONTENT() |
Getter for GUARDCONTENT w/ exceptions if field has no value |
HAS_GUARDCONTENT() |
Determine if GUARDCONTENT has a value |
queryContent¶
The input query or prompt that generated the content. This provides context for the validation.
Accessible with the following methods¶
Method | Description |
---|---|
GET_QUERYCONTENT() |
Getter for QUERYCONTENT, with configurable default |
ASK_QUERYCONTENT() |
Getter for QUERYCONTENT w/ exceptions if field has no value |
HAS_QUERYCONTENT() |
Determine if QUERYCONTENT has a value |
expectedAggregatedFindingsResult¶
The expected result of the Automated Reasoning check for this test.
Accessible with the following methods¶
Method | Description |
---|---|
GET_EXPECTEDAGGDFNDGSRESULT() |
Getter for EXPECTEDAGGDFINDINGSRESULT, with configurable def |
ASK_EXPECTEDAGGDFNDGSRESULT() |
Getter for EXPECTEDAGGDFINDINGSRESULT w/ exceptions if field |
HAS_EXPECTEDAGGDFNDGSRESULT() |
Determine if EXPECTEDAGGDFINDINGSRESULT has a value |
createdAt¶
The timestamp when the test was created.
Accessible with the following methods¶
Method | Description |
---|---|
GET_CREATEDAT() |
Getter for CREATEDAT, with configurable default |
ASK_CREATEDAT() |
Getter for CREATEDAT w/ exceptions if field has no value |
HAS_CREATEDAT() |
Determine if CREATEDAT has a value |
updatedAt¶
The timestamp when the test was last updated.
Accessible with the following methods¶
Method | Description |
---|---|
GET_UPDATEDAT() |
Getter for UPDATEDAT, with configurable default |
ASK_UPDATEDAT() |
Getter for UPDATEDAT w/ exceptions if field has no value |
HAS_UPDATEDAT() |
Determine if UPDATEDAT has a value |
confidenceThreshold¶
The minimum confidence level for logic validation. Content meeting this threshold is considered high-confidence and can be validated.
Accessible with the following methods¶
Method | Description |
---|---|
GET_CONFIDENCETHRESHOLD() |
Getter for CONFIDENCETHRESHOLD, with configurable default |
ASK_CONFIDENCETHRESHOLD() |
Getter for CONFIDENCETHRESHOLD w/ exceptions if field has no |
STR_CONFIDENCETHRESHOLD() |
String format for CONFIDENCETHRESHOLD, with configurable def |
HAS_CONFIDENCETHRESHOLD() |
Determine if CONFIDENCETHRESHOLD 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_AUTOMATEDRSNINGPLYTSTCASE01
¶
TYPES TT_AUTOMATEDRSNINGPLYTSTCASE01 TYPE STANDARD TABLE OF REF TO /AWS1/CL_BDKAUTOMATEDRSNINGP55 WITH DEFAULT KEY
.