Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

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?: {
[key: string]: string | null | undefined;
}
| null;
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.

§
messages?: Message[] | null
[src]

A list of messages last sent to the user. The messages are ordered based on the order that you returned the messages from your Lambda function or the order that the messages are defined in the bot.

§
requestAttributes?: {
[key: string]: string | null | undefined;
}
| null
[src]

The attributes sent in the request.

§
sessionId?: string | null
[src]

The identifier of the session in use.

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