Module Values.SlotDefaultValueSpecSource

Contains the default values for a slot. Default values are used when Amazon Lex hasn't determined a value for a slot.

Sourcetype nonrec t = {
  1. defaultValueList : SlotDefaultValueList.t;
    (*

    The default values for a slot. You can specify more than one default. For example, you can specify a default value to use from a matching context variable, a session attribute, or a fixed value. The default value chosen is selected based on the order that you specify them in the list. For example, if you specify a context variable and a fixed value in that order, Amazon Lex uses the context variable if it is available, else it uses the fixed value.

    *)
}
Sourceval context_ : string
Sourceval make : defaultValueList:SlotDefaultValueList.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `String of SlotDefaultValueString.t ]) 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