Module Values.AssistantMessageBlockSource

A block of content in an assistant message.

Sourcetype nonrec t = {
  1. text : String_.t option;
    (*

    Text content from the assistant.

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

    Tool use request from the assistant.

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