GetSessionResponse
¶
Source code in docs_src/capo_lex_runtime_v2/types/get_session_response.py
interpretations
instance-attribute
¶
interpretations: NotRequired[Interpretations]
A list of intents that Amazon Lex V2 determined might satisfy the user's utterance.
Each interpretation includes the intent, a score that indicates how confident Amazon Lex V2 is that the interpretation is the correct one, and an optional sentiment response that indicates the sentiment expressed in the utterance.
messages
instance-attribute
¶
messages: NotRequired[Messages]
A list of messages that were last sent to the user. The messages are ordered based on the order that your returned the messages from your Lambda function or the order that messages are defined in the bot.
session_id
instance-attribute
¶
session_id: NotRequired[NonEmptyString]
The identifier of the returned session.
session_state
instance-attribute
¶
session_state: NotRequired[SessionState]
Represents the current state of the dialog between the user and the bot.
You can use this to determine the progress of the conversation and what the next action might be.