Module Values.ReasoningTextBlockSource

Contains the reasoning that the model used to return the output.

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

    The reasoning that the model used to return the output.

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

    A token that verifies that the reasoning text was generated by the model. If you pass a reasoning block back to the API in a multi-turn conversation, include the text and its signature unmodified.

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