ActiveContext

A context is a variable that contains information about the current state of the conversation between a user and Amazon Lex. Context can be set automatically by Amazon Lex when an intent is fulfilled, or it can be set at runtime using the PutContent, PutText, or PutSession operation.

Types

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

Properties

Link copied to clipboard

The name of the context.

Link copied to clipboard

State variables for the current context. You can use these values as default values for slots in subsequent events.

Link copied to clipboard

The length of time or number of turns that a context remains active.

Functions

Link copied to clipboard
inline fun copy(block: ActiveContext.Builder.() -> Unit = {}): ActiveContext
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