Slot

class Slot

Identifies the version of a specific slot.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

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.

Link copied to clipboard

A description of the slot.

Link copied to clipboard

The name of the slot.

Link copied to clipboard

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 .

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

Specifies whether the slot is required or optional.

Link copied to clipboard

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

Link copied to clipboard

The version of the slot type.

Link copied to clipboard

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

Functions

Link copied to clipboard
inline fun copy(block: Slot.Builder.() -> Unit = {}): Slot
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String