Module Values.SlotValueOverride

The slot values that Amazon Lex uses when it sets slot values in a dialog step.

Sourcetype nonrec t = {
  1. shape : SlotShape.t option;
    (*

    When the shape value is List, it indicates that the values field contains a list of slot values. When the value is Scalar, it indicates that the value field contains a single value.

    *)
  2. value : SlotValue.t option;
    (*

    The current value of the slot.

    *)
  3. values : SlotValues.t option;
    (*

    A list of one or more values that the user provided for the slot. For example, for a slot that elicits pizza toppings, the values might be "pepperoni" and "pineapple."

    *)
}
Sourceval make : ?shape:SlotShape.t -> ?value:SlotValue.t -> ?values:SlotValues.t -> unit -> t
Sourceval to_value : t -> Awso.Botodata.value
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t