RecognizeTextResponse
import type { RecognizeTextResponse } from "https://aws-api.deno.dev/v0.3/services/lexruntimev2.ts?docs=full";
interface RecognizeTextResponse {
interpretations?: Interpretation[] | null;
messages?: Message[] | null;
requestAttributes?: {} | null;
[key: string]: string | null | undefined;
sessionId?: string | null;
sessionState?: SessionState | null;
}§Properties
§
interpretations?: Interpretation[] | null
[src]A list of intents that Amazon Lex V2 determined might satisfy the user's utterance.
Each interpretation includes the intent, a score that indicates now confident Amazon Lex V2 is that the interpretation is the correct one, and an optional sentiment response that indicates the sentiment expressed in the utterance.
§
requestAttributes?: {} | null
[src][key: string]: string | null | undefined;
The attributes sent in the request.
§
sessionState?: SessionState | null
[src]Represents the current state of the dialog between the user and the bot.
Use this to determine the progress of the conversation and what the next action may be.