Module Values.EnumerationValueSource

Each slot type can have a set of values. Each enumeration value represents a value the slot type can take. For example, a pizza ordering bot could have a slot type that specifies the type of crust that the pizza should have. The slot type could include the values thick thin stuffed

Sourcetype nonrec t = {
  1. value : Value.t;
    (*

    The value of the slot type.

    *)
  2. synonyms : SynonymList.t option;
    (*

    Additional values related to the slot type value.

    *)
}
Sourceval context_ : string
Sourceval make : ?synonyms:??? -> value:Value.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `String of Value.t ] list | `String of Value.t ]) 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