GetSessionResponse
¶
Source code in docs_src/capo_lex_runtime_service/types/get_session_response.py
active_contexts
instance-attribute
¶
active_contexts: NotRequired[ActiveContextsList]
A list of active contexts for the session. A context can be set when an intent is fulfilled or by calling the PostContent, PostText, or PutSession operation.
You can use a context to control the intents that can follow up an intent, or to modify the operation of your application.
dialog_action
instance-attribute
¶
dialog_action: NotRequired[DialogAction]
Describes the current state of the bot.
recent_intent_summary_view
instance-attribute
¶
recent_intent_summary_view: NotRequired[IntentSummaryList]
An array of information about the intents used in the session. The array can contain a maximum of three summaries. If more than three intents are used in the session, the recentIntentSummaryView operation contains information about the last three intents used.
If you set the checkpointLabelFilter parameter in the request, the array contains only the intents with the specified label.