Options
All
  • Public
  • Public/Protected
  • All
Menu

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

Hierarchy

  • ActiveContext

Index

Properties

name

name: string | undefined

The name of the context.

parameters

parameters: Record<string, string> | undefined

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

timeToLive

timeToLive: ActiveContextTimeToLive | undefined

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