Skip to content

/AWS1/CL_BDCSYSPROMPTRECRSLT

The result of a system prompt recommendation, containing the optimized prompt.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_recommendedsystemprompt TYPE /AWS1/BDCSYSTEMPROMPTTEXT /AWS1/BDCSYSTEMPROMPTTEXT

The optimized system prompt text generated by the recommendation.

io_configurationbundle TYPE REF TO /AWS1/CL_BDCRECRSLTCONFBUNDLE /AWS1/CL_BDCRECRSLTCONFBUNDLE

The configuration bundle containing the recommended system prompt, if the input was sourced from a configuration bundle.

iv_errorcode TYPE /AWS1/BDCRECERRORCODE /AWS1/BDCRECERRORCODE

The error code if the recommendation failed.

iv_errormessage TYPE /AWS1/BDCRECERRORMESSAGE /AWS1/BDCRECERRORMESSAGE

The error message if the recommendation failed.


Queryable Attributes

recommendedSystemPrompt

The optimized system prompt text generated by the recommendation.

Accessible with the following methods

Method Description
GET_RECOMMENDEDSYSTEMPROMPT() Getter for RECOMMENDEDSYSTEMPROMPT, with configurable defaul
ASK_RECOMMENDEDSYSTEMPROMPT() Getter for RECOMMENDEDSYSTEMPROMPT w/ exceptions if field ha
HAS_RECOMMENDEDSYSTEMPROMPT() Determine if RECOMMENDEDSYSTEMPROMPT has a value

configurationBundle

The configuration bundle containing the recommended system prompt, if the input was sourced from a configuration bundle.

Accessible with the following methods

Method Description
GET_CONFIGURATIONBUNDLE() Getter for CONFIGURATIONBUNDLE

errorCode

The error code if the recommendation failed.

Accessible with the following methods

Method Description
GET_ERRORCODE() Getter for ERRORCODE, with configurable default
ASK_ERRORCODE() Getter for ERRORCODE w/ exceptions if field has no value
HAS_ERRORCODE() Determine if ERRORCODE has a value

errorMessage

The error message if the recommendation failed.

Accessible with the following methods

Method Description
GET_ERRORMESSAGE() Getter for ERRORMESSAGE, with configurable default
ASK_ERRORMESSAGE() Getter for ERRORMESSAGE w/ exceptions if field has no value
HAS_ERRORMESSAGE() Determine if ERRORMESSAGE has a value