Skip to content

/AWS1/CL_QSTCUSTPRMPTINPPARMS

The parameters for configuring a custom prompt for an agent.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_responselength TYPE /AWS1/QSTSTYLEDESCRIPTION /AWS1/QSTSTYLEDESCRIPTION

Instructions for the desired response length.

iv_outputstyle TYPE /AWS1/QSTSTYLEDESCRIPTION /AWS1/QSTSTYLEDESCRIPTION

Instructions for the desired output style.

iv_identity TYPE /AWS1/QSTSTYLEDESCRIPTION /AWS1/QSTSTYLEDESCRIPTION

Instructions that define the agent's identity and persona.

iv_tone TYPE /AWS1/QSTSTYLEDESCRIPTION /AWS1/QSTSTYLEDESCRIPTION

Instructions for the desired tone of responses.

iv_custominstructions TYPE /AWS1/QSTSTYLEDESCRIPTION /AWS1/QSTSTYLEDESCRIPTION

Custom instructions for the agent's behavior.


Queryable Attributes

ResponseLength

Instructions for the desired response length.

Accessible with the following methods

Method Description
GET_RESPONSELENGTH() Getter for RESPONSELENGTH, with configurable default
ASK_RESPONSELENGTH() Getter for RESPONSELENGTH w/ exceptions if field has no valu
HAS_RESPONSELENGTH() Determine if RESPONSELENGTH has a value

OutputStyle

Instructions for the desired output style.

Accessible with the following methods

Method Description
GET_OUTPUTSTYLE() Getter for OUTPUTSTYLE, with configurable default
ASK_OUTPUTSTYLE() Getter for OUTPUTSTYLE w/ exceptions if field has no value
HAS_OUTPUTSTYLE() Determine if OUTPUTSTYLE has a value

Identity

Instructions that define the agent's identity and persona.

Accessible with the following methods

Method Description
GET_IDENTITY() Getter for IDENTITY, with configurable default
ASK_IDENTITY() Getter for IDENTITY w/ exceptions if field has no value
HAS_IDENTITY() Determine if IDENTITY has a value

Tone

Instructions for the desired tone of responses.

Accessible with the following methods

Method Description
GET_TONE() Getter for TONE, with configurable default
ASK_TONE() Getter for TONE w/ exceptions if field has no value
HAS_TONE() Determine if TONE has a value

CustomInstructions

Custom instructions for the agent's behavior.

Accessible with the following methods

Method Description
GET_CUSTOMINSTRUCTIONS() Getter for CUSTOMINSTRUCTIONS, with configurable default
ASK_CUSTOMINSTRUCTIONS() Getter for CUSTOMINSTRUCTIONS w/ exceptions if field has no
HAS_CUSTOMINSTRUCTIONS() Determine if CUSTOMINSTRUCTIONS has a value