/AWS1/CL_BDZINLINESESSIONSTATE¶
Contains parameters that specify various attributes that persist across a session or prompt. You can define session state attributes as key-value pairs when writing a Lambda function for an action group or pass them when making an InvokeInlineAgent request. Use session state attributes to control and provide conversational context for your inline agent and to help customize your agent's behavior. For more information, see Control session context
CONSTRUCTOR¶
IMPORTING¶
Optional arguments:¶
it_sessionattributes TYPE /AWS1/CL_BDZSESSIONATTRSMAP_W=>TT_SESSIONATTRIBUTESMAP TT_SESSIONATTRIBUTESMAP¶
Contains attributes that persist across a session and the values of those attributes.
it_promptsessionattributes TYPE /AWS1/CL_BDZPROMPTSESSATTRSM00=>TT_PROMPTSESSIONATTRIBUTESMAP TT_PROMPTSESSIONATTRIBUTESMAP¶
Contains attributes that persist across a session and the values of those attributes.
it_returncontrolinvcresults TYPE /AWS1/CL_BDZINVCRESULTMEMBER=>TT_RETURNCONTROLINVCRESULTS TT_RETURNCONTROLINVCRESULTS¶
Contains information about the results from the action group invocation. For more information, see Return control to the agent developer.
If you include this field in the
sessionStatefield, theinputTextfield will be ignored.
iv_invocationid TYPE /AWS1/BDZSTRING /AWS1/BDZSTRING¶
The identifier of the invocation of an action. This value must match the
invocationIdreturned in theInvokeInlineAgentresponse for the action whose results are provided in thereturnControlInvocationResultsfield. For more information, see Return control to the agent developer.
it_files TYPE /AWS1/CL_BDZINPUTFILE=>TT_INPUTFILES TT_INPUTFILES¶
Contains information about the files used by code interpreter.
io_conversationhistory TYPE REF TO /AWS1/CL_BDZCONVERSATIONHIST00 /AWS1/CL_BDZCONVERSATIONHIST00¶
Contains the conversation history that persist across sessions.
Queryable Attributes¶
sessionAttributes¶
Contains attributes that persist across a session and the values of those attributes.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_SESSIONATTRIBUTES() |
Getter for SESSIONATTRIBUTES, with configurable default |
ASK_SESSIONATTRIBUTES() |
Getter for SESSIONATTRIBUTES w/ exceptions if field has no v |
HAS_SESSIONATTRIBUTES() |
Determine if SESSIONATTRIBUTES has a value |
promptSessionAttributes¶
Contains attributes that persist across a session and the values of those attributes.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_PROMPTSESSIONATTRIBUTES() |
Getter for PROMPTSESSIONATTRIBUTES, with configurable defaul |
ASK_PROMPTSESSIONATTRIBUTES() |
Getter for PROMPTSESSIONATTRIBUTES w/ exceptions if field ha |
HAS_PROMPTSESSIONATTRIBUTES() |
Determine if PROMPTSESSIONATTRIBUTES has a value |
returnControlInvocationResults¶
Contains information about the results from the action group invocation. For more information, see Return control to the agent developer.
If you include this field in the
sessionStatefield, theinputTextfield will be ignored.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_RETURNCONTROLINVCRESULTS() |
Getter for RETURNCONTROLINVCRESULTS, with configurable defau |
ASK_RETURNCONTROLINVCRESULTS() |
Getter for RETURNCONTROLINVCRESULTS w/ exceptions if field h |
HAS_RETURNCONTROLINVCRESULTS() |
Determine if RETURNCONTROLINVCRESULTS has a value |
invocationId¶
The identifier of the invocation of an action. This value must match the
invocationIdreturned in theInvokeInlineAgentresponse for the action whose results are provided in thereturnControlInvocationResultsfield. For more information, see Return control to the agent developer.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_INVOCATIONID() |
Getter for INVOCATIONID, with configurable default |
ASK_INVOCATIONID() |
Getter for INVOCATIONID w/ exceptions if field has no value |
HAS_INVOCATIONID() |
Determine if INVOCATIONID has a value |
files¶
Contains information about the files used by code interpreter.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_FILES() |
Getter for FILES, with configurable default |
ASK_FILES() |
Getter for FILES w/ exceptions if field has no value |
HAS_FILES() |
Determine if FILES has a value |
conversationHistory¶
Contains the conversation history that persist across sessions.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_CONVERSATIONHISTORY() |
Getter for CONVERSATIONHISTORY |