ActiveContext
import type { ActiveContext } from "https://aws-api.deno.dev/v0.4/services/lexruntime.ts?docs=full";
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.
interface ActiveContext {
name: string;
parameters: {};
[key: string]: string | null | undefined;
timeToLive: ActiveContextTimeToLive;
}