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

Slot

import type { Slot } from "https://aws-api.deno.dev/v0.3/services/lexmodelbuildingservice.ts?docs=full";

Identifies the version of a specific slot.

interface Slot {
defaultValueSpec?: SlotDefaultValueSpec | null;
description?: string | null;
name: string;
obfuscationSetting?: ObfuscationSetting | null;
priority?: number | null;
responseCard?: string | null;
sampleUtterances?: string[] | null;
slotConstraint: SlotConstraint;
slotType?: string | null;
slotTypeVersion?: string | null;
valueElicitationPrompt?: Prompt | null;
}

§Properties

§
defaultValueSpec?: SlotDefaultValueSpec | null
[src]

A list of default values for the slot. Default values are used when Amazon Lex hasn't determined a value for a slot. You can specify default values from context variables, session attributes, and defined values.

§
description?: string | null
[src]

A description of the slot.

§
name: string
[src]

The name of the slot.

§
obfuscationSetting?: ObfuscationSetting | null
[src]

Determines whether a slot is obfuscated in conversation logs and stored utterances. When you obfuscate a slot, the value is replaced by the slot name in curly braces ({}). For example, if the slot name is "full_name", obfuscated values are replaced with "{full_name}". For more information, see Slot Obfuscation.

§
priority?: number | null
[src]

Directs Amazon Lex the order in which to elicit this slot value from the user. For example, if the intent has two slots with priorities 1 and 2, AWS Amazon Lex first elicits a value for the slot with priority 1.

If multiple slots share the same priority, the order in which Amazon Lex elicits values is arbitrary.

§
responseCard?: string | null
[src]

A set of possible responses for the slot type used by text-based clients. A user chooses an option from the response card, instead of using text to reply.

§
sampleUtterances?: string[] | null
[src]

If you know a specific pattern with which users might respond to an Amazon Lex request for a slot value, you can provide those utterances to improve accuracy. This is optional. In most cases, Amazon Lex is capable of understanding user utterances.

§
slotConstraint: SlotConstraint
[src]

Specifies whether the slot is required or optional.

§
slotType?: string | null
[src]

The type of the slot, either a custom slot type that you defined or one of the built-in slot types.

§
slotTypeVersion?: string | null
[src]

The version of the slot type.

§
valueElicitationPrompt?: Prompt | null
[src]

The prompt that Amazon Lex uses to elicit the slot value from the user.