Values.ContentBlockDeltaSourceA block of content in a streaming response.
type nonrec t = {text : String_.t option;The content text.
*)toolUse : ToolUseBlockDelta.t option;Information about a tool that the model is requesting to use.
*)toolResult : ToolResultBlocksDelta.t option;An incremental update that contains the results from a tool call.
*)reasoningContent : ReasoningContentBlockDelta.t option;Contains content regarding the reasoning that is carried out by the model. Reasoning refers to a Chain of Thought (CoT) that the model generates to enhance the accuracy of its final response.
*)citation : CitationsDelta.t option;Incremental citation information that is streamed as part of the response generation process.
*)image : ImageBlockDelta.t option;A streaming delta event containing incremental image data.
*)}val to_value :
t ->
[> `Structure of
(string
* [> `List of
[> `Structure of
(string * [> `String of String_.t | `Structure of 'a list ])
list ]
list
| `String of String_.t
| `Structure of
(string
* [> `Blob of Blob.t
| `List of
[> `Structure of (string * [> `String of String_.t ]) list ]
list
| `String of String_.t
| `Structure of
(string
* [> `Blob of ImageSourceBytesBlob.t
| `String of String_.t
| `Structure of
(string
* [> `Integer of
DocumentCharLocationDocumentIndexInteger.t
| `String of String_.t ])
list ])
list ])
list ])
list ]