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

RecognizeTextRequest

import type { RecognizeTextRequest } from "https://aws-api.deno.dev/v0.3/services/lexruntimev2.ts?docs=full";
interface RecognizeTextRequest {
botAliasId: string;
botId: string;
localeId: string;
requestAttributes?: {
[key: string]: string | null | undefined;
}
| null;
sessionId: string;
sessionState?: SessionState | null;
text: string;
}

§Properties

§
botAliasId: string
[src]

The alias identifier in use for the bot that processes the request.

§
botId: string
[src]

The identifier of the bot that processes the request.

§
localeId: string
[src]

The locale where the session is in use.

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

Request-specific information passed between the client application and Amazon Lex V2

The namespace x-amz-lex: is reserved for special attributes. Don't create any request attributes with the prefix x-amz-lex:.

§
sessionId: string
[src]

The identifier of the user session that is having the conversation.

§
sessionState?: SessionState | null
[src]

The current state of the dialog between the user and the bot.

§
text: string
[src]

The text that the user entered. Amazon Lex V2 interprets this text.