Module Values.SendMessageContentBlockStopEventSource

Event emitted when a content block is complete

Sourcetype nonrec t = {
  1. index : Integer.t option;
    (*

    Zero-based index of the content block

    *)
  2. type_ : String_.t option;
    (*

    The type of content in this block

    *)
  3. text : String_.t option;
    (*

    The accumulated complete content text

    *)
  4. last : Boolean.t option;
    (*

    Whether this is the final content block in the response

    *)
  5. sequenceNumber : Integer.t option;
    (*

    Event sequence number

    *)
}
Sourceval make : ?index:??? -> ?type_:??? -> ?text:??? -> ?last:??? -> ?sequenceNumber:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `Integer of Integer.t | `String of String_.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