PromptSpecification
import type { PromptSpecification } from "https://aws-api.deno.dev/v0.4/services/lexmodelsv2.ts?docs=full";
Specifies a list of message groups that Amazon Lex sends to a user to elicit a response.
interface PromptSpecification {
allowInterrupt?: boolean | null;
maxRetries: number;
messageGroups: MessageGroup[];
messageSelectionStrategy?: MessageSelectionStrategy | null;
promptAttemptsSpecification?: [key in PromptAttempt]: PromptAttemptSpecification | null | undefined | null;
}§Properties
§
allowInterrupt?: boolean | null
[src]Indicates whether the user can interrupt a speech prompt from the bot.
§
maxRetries: number
[src]The maximum number of times the bot tries to elicit a response from the user using this prompt.
§
messageGroups: MessageGroup[]
[src]A collection of messages that Amazon Lex can send to the user. Amazon Lex chooses the actual message to send at runtime.
§
messageSelectionStrategy?: MessageSelectionStrategy | null
[src]Indicates how a message is selected from a message group among retries.
§
promptAttemptsSpecification?: [key in PromptAttempt]: PromptAttemptSpecification | null | undefined | null
[src]Specifies the advanced settings on each attempt of the prompt.