PostTextResponse
Types
Properties
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.
One to four alternative intents that may be applicable to the user's intent.
The version of the bot that responded to the conversation. You can use this information to help determine if one version of a bot is performing better than another version.
Identifies the current state of the user interaction. Amazon Lex returns one of the following values as dialogState
. The client can optionally use this information to customize the user interface.
The current user intent that Amazon Lex is aware of.
The format of the response message. One of the following values:
Provides a score that indicates how confident Amazon Lex is that the returned intent is the one that matches the user's intent. The score is between 0.0 and 1.0. For more information, see Confidence Scores.
Represents the options that the user has to respond to the current prompt. Response Card can come from the bot configuration (in the Amazon Lex console, choose the settings button next to a slot) or from a code hook (Lambda function).
The sentiment expressed in and utterance.
A map of key-value pairs representing the session-specific context information.
If the dialogState
value is ElicitSlot
, returns the name of the slot for which Amazon Lex is eliciting a value.