Module Values.InvokeAssistantRequestSource

Invokes SiteWise Assistant to start or continue a conversation.

Sourcetype nonrec t = {
  1. conversationId : ConversationId.t option;
    (*

    The ID assigned to a conversation. IoT SiteWise automatically generates a unique ID for you, and this parameter is never required. However, if you prefer to have your own ID, you must specify it here in UUID format. If you specify your own ID, it must be globally unique.

    *)
  2. message : MessageInput.t;
    (*

    A text message sent to the SiteWise Assistant by the user.

    *)
  3. enableTrace : PrimitiveBoolean.t option;
    (*

    Specifies if to turn trace on or not. It is used to track the SiteWise Assistant's reasoning, and data access process.

    *)
}
Sourceval context_ : string
Sourceval make : ?conversationId:??? -> ?enableTrace:??? -> message:MessageInput.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of PrimitiveBoolean.t | `String of ConversationId.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