Module Values.DialogActionSource

Defines the action that the bot executes at runtime when the conversation reaches this step.

Sourcetype nonrec t = {
  1. type_ : DialogActionType.t;
    (*

    The action that the bot should execute.

    *)
  2. slotToElicit : Name.t option;
    (*

    If the dialog action is ElicitSlot, defines the slot to elicit from the user.

    *)
  3. suppressNextMessage : BoxedBoolean.t option;
    (*

    When true the next message for the intent is not used.

    *)
}
Sourceval context_ : string
Sourceval make : ?slotToElicit:??? -> ?suppressNextMessage:??? -> type_:DialogActionType.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of BoxedBoolean.t | `Enum of string | `String of Name.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