Module Values.SubSlotValueElicitationSettingSource

Subslot elicitation settings. DefaultValueSpecification is a list of default values for a constituent sub slot in a composite 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. This is similar to DefaultValueSpecification for slots. PromptSpecification is the prompt that Amazon Lex uses to elicit the sub slot value from the user. This is similar to PromptSpecification for slots.

Sourcetype nonrec t = {
  1. defaultValueSpecification : SlotDefaultValueSpecification.t option;
  2. promptSpecification : PromptSpecification.t;
  3. sampleUtterances : SampleUtterancesList.t option;
    (*

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

    *)
  4. waitAndContinueSpecification : WaitAndContinueSpecification.t option;
}
Sourceval context_ : string
Sourceval make : ?defaultValueSpecification:??? -> ?sampleUtterances:??? -> ?waitAndContinueSpecification:??? -> promptSpecification:PromptSpecification.t -> unit -> t
Sourceval to_value : t -> [> `Structure 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 | `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 ]) 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