Module Values.ReasoningContentBlockDeltaSource

Contains content regarding the reasoning that is carried out by the model with respect to the content in the content block. Reasoning refers to a Chain of Thought (CoT) that the model generates to enhance the accuracy of its final response.

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

    The reasoning that the model used to return the output.

    *)
  2. redactedContent : Blob.t option;
    (*

    The content in the reasoning that was encrypted by the model provider for safety reasons. The encryption doesn't affect the quality of responses.

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