Module Values.MessageStopEventSource

The stop event for a message.

Sourcetype nonrec t = {
  1. stopReason : StopReason.t option;
    (*

    The reason why the model stopped generating output.

    *)
  2. additionalModelResponseFields : Document.t option;
    (*

    The additional model response fields.

    *)
}
Sourceval make : ?stopReason:??? -> ?additionalModelResponseFields:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Structure of 'a 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