InlineSessionState
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
Types
Properties
Contains the conversation history that persist across sessions.
The identifier of the invocation of an action. This value must match the invocationId
returned in the InvokeInlineAgent
response for the action whose results are provided in the returnControlInvocationResults
field. For more information, see Return control to the agent developer.
Contains attributes that persist across a session and the values of those attributes.
Contains information about the results from the action group invocation. For more information, see Return control to the agent developer.
Contains attributes that persist across a session and the values of those attributes.