Module Values.SlotValueSelectionSettingSource

Contains settings used by Amazon Lex to select a slot value.

Sourcetype nonrec t = {
  1. resolutionStrategy : SlotValueResolutionStrategy.t;
    (*

    Determines the slot resolution strategy that Amazon Lex uses to return slot type values. The field can be set to one of the following values: ORIGINAL_VALUE - Returns the value entered by the user, if the user value is similar to the slot value. TOP_RESOLUTION - If there is a resolution list for the slot, return the first value in the resolution list as the slot type value. If there is no resolution list, null is returned. If you don't specify the valueSelectionStrategy, the default is ORIGINAL_VALUE.

    *)
  2. regexFilter : SlotValueRegexFilter.t option;
    (*

    A regular expression used to validate the value of a slot.

    *)
  3. advancedRecognitionSetting : AdvancedRecognitionSetting.t option;
    (*

    Provides settings that enable advanced recognition settings for slot values. You can use this to enable using slot values as a custom vocabulary for recognizing user utterances.

    *)
}
Sourceval context_ : string
Sourceval make : ?regexFilter:??? -> ?advancedRecognitionSetting:??? -> resolutionStrategy:SlotValueResolutionStrategy.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Structure of (string * [> `Enum of string | `String of RegexPattern.t ]) 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