Module Values.SlotValueElicitationSettingSource

Specifies the elicitation setting details eliciting a slot.

Sourcetype nonrec t = {
  1. defaultValueSpecification : SlotDefaultValueSpecification.t option;
    (*

    A list of default values for a 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.

    *)
  2. slotConstraint : SlotConstraint.t;
    (*

    Specifies whether the slot is required or optional.

    *)
  3. promptSpecification : PromptSpecification.t option;
    (*

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

    *)
  4. sampleUtterances : SampleUtterancesList.t option;
    (*

    If you know a specific pattern that 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.

    *)
  5. waitAndContinueSpecification : WaitAndContinueSpecification.t option;
  6. slotCaptureSetting : SlotCaptureSetting.t option;
    (*

    Specifies the settings that Amazon Lex uses when a slot value is successfully entered by a user.

    *)
  7. slotResolutionSetting : SlotResolutionSetting.t option;
    (*

    An object containing information about whether assisted slot resolution is turned on for the slot or not.

    *)
}
Sourceval context_ : string
Sourceval make : ?defaultValueSpecification:??? -> ?promptSpecification:??? -> ?sampleUtterances:??? -> ?waitAndContinueSpecification:??? -> ?slotCaptureSetting:??? -> ?slotResolutionSetting:??? -> slotConstraint:SlotConstraint.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `String of Utterance.t ]) list ] list | `Structure of (string * [> `Boolean of BoxedBoolean.t | `Enum of string | `Integer of PromptMaxRetries.t | `List of [> `Structure of (string * [> `List of [> `Structure of (string * [> `Structure of (string * [> `List of [> `Structure of (string * [> `String of ButtonText.t ]) list ] list | `String of PlainTextMessageValue.t ]) list ]) list ] list | `String of SlotDefaultValueString.t | `Structure of (string * [> `Structure of (string * [> `List of [> `Structure of (string * [> `String of ButtonText.t ]) list ] list | `String of PlainTextMessageValue.t ]) list ]) list ]) list ] list | `Map of ([> `Enum of string ] * [> `Structure of (string * [> `Boolean of BoxedBoolean.t | `Structure of (string * [> `Boolean of BoxedBoolean.t | `Integer of TimeInMilliSeconds.t | `Structure of (string * [> `Integer of TimeInMilliSeconds.t | `String of DTMFCharacter.t ]) list ]) list ]) list ]) list | `Structure of (string * [> `Boolean of BoxedBoolean.t | `Integer of StillWaitingResponseFrequency.t | `List of [> `Structure of (string * [> `List of [> `Structure of (string * [> `Structure of (string * [> `List of [> `Structure of (string * [> `String of ButtonText.t ]) list ] list | `String of PlainTextMessageValue.t ]) list ]) list ] list | `String of Name.t | `Structure of (string * [> `Boolean of BoxedBoolean.t | `List of [> `Structure of (string * [> `List of [> `Structure of (string * [> `Structure of (string * [> `List of [> `Structure of (string * [> `String of ButtonText.t ]) list ] list | `String of PlainTextMessageValue.t ]) list ]) list ] list | `Structure of (string * [> `Structure of (string * [> `List of [> `Structure of (string * [> `String of ButtonText.t ]) list ] list | `String of PlainTextMessageValue.t ]) list ]) list ]) list ] list | `Map of ([> `String of NonEmptyString.t ] * [> `String of String_.t ]) list | `String of ConditionExpression.t | `Structure of (string * [> `Boolean of BoxedBoolean.t | `Enum of string | `List of [> `Structure of (string * [> `String of ButtonText.t ]) list ] list | `Map of ([> `String of Name.t ] * Awso.Botodata.value) list | `String of PlainTextMessageValue.t ]) list ]) list ]) list ] list | `Map of ([> `String of NonEmptyString.t ] * [> `String of String_.t ]) list | `String of Name.t | `Structure of (string * [> `Boolean of BoxedBoolean.t | `Enum of string | `Map of ([> `String of Name.t ] * Awso.Botodata.value) list | `String of Name.t | `Structure of (string * [> `Boolean of BoxedBoolean.t | `List of [> `Structure of (string * [> `List of [> `Structure of (string * [> `Structure of (string * [> `List of [> `Structure of (string * [> `String of ButtonText.t ]) list ] list | `String of PlainTextMessageValue.t ]) list ]) list ] list | `String of Name.t | `Structure of (string * [> `Boolean of BoxedBoolean.t | `List of [> `Structure of (string * [> `List of [> `Structure of (string * [> `Structure of (string * [> `List of [> `Structure of (string * [> `String of ButtonText.t ]) list ] list | `String of PlainTextMessageValue.t ]) list ]) list ] list | `Structure of (string * [> `Structure of (string * [> `List of [> `Structure of (string * [> `String of ButtonText.t ]) list ] list | `String of PlainTextMessageValue.t ]) list ]) list ]) list ] list | `Map of ([> `String of NonEmptyString.t ] * [> `String of String_.t ]) list | `String of ConditionExpression.t | `Structure of (string * [> `Boolean of BoxedBoolean.t | `Enum of string | `List of [> `Structure of (string * [> `String of ButtonText.t ]) list ] list | `Map of ([> `String of Name.t ] * Awso.Botodata.value) list | `String of PlainTextMessageValue.t ]) list ]) list ]) list ] list | `Map of ([> `String of NonEmptyString.t ] * [> `String of String_.t ]) list | `Structure of (string * [> `Boolean of BoxedBoolean.t | `Enum of string | `Map of ([> `String of Name.t ] * Awso.Botodata.value) list | `String of Name.t | `Structure of (string * [> `Boolean of BoxedBoolean.t | `List of [> `Structure of (string * [> `List of [> `Structure of (string * [> `Structure of (string * [> `List of [> `Structure of (string * [> `String of ButtonText.t ]) list ] list | `String of PlainTextMessageValue.t ]) list ]) list ] list | `Structure of (string * [> `Structure of (string * [> `List of [> `Structure of (string * [> `String of ButtonText.t ]) list ] list | `String of PlainTextMessageValue.t ]) list ]) list ]) list ] list | `Map of ([> `String of NonEmptyString.t ] * [> `String of String_.t ]) list | `Structure of (string * [> `Boolean of BoxedBoolean.t | `Enum of string | `Map of ([> `String of Name.t ] * Awso.Botodata.value) list | `String of Name.t ]) list ]) list ]) list ]) list ]) list ]) list ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t