ActiveContext
class ActiveContext
Contains information about the contexts that a user is using in a session. You can configure Amazon Lex V2 to set a context when an intent is fulfilled, or you can set a context using the , , or operations.
Use a context to indicate to Amazon Lex V2 intents that should be used as follow-up intents. For example, if the active context is order-fulfilled
, only intents that have order-fulfilled
configured as a trigger are considered for follow up.
Types
Properties
Link copied to clipboard
A list of contexts active for the request. A context can be activated when a previous intent is fulfilled, or by including the context in the request.
Link copied to clipboard
Indicates the number of turns or seconds that the context is active. Once the time to live expires, the context is no longer returned in a response.