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

PredictedIntent

import type { PredictedIntent } from "https://aws-api.deno.dev/v0.4/services/lexruntime.ts?docs=full";

An intent that Amazon Lex suggests satisfies the user's intent. Includes the name of the intent, the confidence that Amazon Lex has that the user's intent is satisfied, and the slots defined for the intent.

interface PredictedIntent {
intentName?: string | null;
nluIntentConfidence?: IntentConfidence | null;
slots?: {
[key: string]: string | null | undefined;
}
| null;
}

§Properties

§
intentName?: string | null
[src]

The name of the intent that Amazon Lex suggests satisfies the user's intent.

§
nluIntentConfidence?: IntentConfidence | null
[src]

Indicates how confident Amazon Lex is that an intent satisfies the user's intent.

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

The slot and slot values associated with the predicted intent.