Module Values.PayloadPartSource

A wrapper for pieces of the payload that's returned in response to a streaming inference request. A streaming inference response consists of one or more payload parts.

Sourcetype nonrec t = {
  1. bytes : PartBlob.t option;
    (*

    A blob that contains part of the response for your streaming inference request.

    *)
}
Sourceval make : ?bytes:??? -> unit -> t
Sourceval of_header_and_body : ('a * PartBlob.t) -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Blob of PartBlob.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