Module Values.UserMessageBlockSource

A block of content in a user message.

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

    Text content from the user.

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

    Tool execution result provided by the user.

    *)
}
Sourceval make : ?text:??? -> ?toolResult:??? -> 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