GetSessionResponse
import type { GetSessionResponse } from "https://aws-api.deno.dev/v0.4/services/lexruntime.ts?docs=full";
interface GetSessionResponse {
activeContexts?: ActiveContext[] | null;
dialogAction?: DialogAction | null;
recentIntentSummaryView?: IntentSummary[] | null;
sessionAttributes?: {} | null;
[key: string]: string | null | undefined;
sessionId?: string | null;
}§Properties
§
activeContexts?: ActiveContext[] | null
[src]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.
You can use a context to control the intents that can follow up an intent, or to modify the operation of your application.
§
dialogAction?: DialogAction | null
[src]Describes the current state of the bot.
§
recentIntentSummaryView?: IntentSummary[] | null
[src]An array of information about the intents used in the session.
The array can contain a maximum of three summaries.
If more than three intents are used in the session, the recentIntentSummaryView
operation contains information about the last three intents used.
If you set the checkpointLabelFilter
parameter in the request, the array contains only the intents with the specified label.