PostTextResponse

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

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.

Link copied to clipboard

One to four alternative intents that may be applicable to the user's intent.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

The current user intent that Amazon Lex is aware of.

Link copied to clipboard

The message to convey to the user. The message can come from the bot's configuration or from a Lambda function.

Link copied to clipboard

The format of the response message. One of the following values:

Link copied to clipboard

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.

Link copied to clipboard

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).

Link copied to clipboard

The sentiment expressed in and utterance.

Link copied to clipboard

A map of key-value pairs representing the session-specific context information.

Link copied to clipboard

A unique identifier for the session.

Link copied to clipboard

The intent slots that Amazon Lex detected from the user input in the conversation.

Link copied to clipboard

If the dialogState value is ElicitSlot, returns the name of the slot for which Amazon Lex is eliciting a value.

Functions

Link copied to clipboard
inline fun copy(block: PostTextResponse.Builder.() -> Unit = {}): PostTextResponse
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String