ReasoningTextDeltaEvent

class ReasoningTextDeltaEvent(val sequenceNumber: Int, val itemId: String, val outputIndex: Int, val contentIndex: Int, val delta: String) : TextDeltaEvent

A fragment of the chain-of-thought a thinking model produces before its answer.

Constructors

Link copied to clipboard
constructor(sequenceNumber: Int, itemId: String, outputIndex: Int, contentIndex: Int, delta: String)

Properties

Link copied to clipboard
open override val contentIndex: Int

Position of the part within the item's content.

Link copied to clipboard
open override val delta: String

The text fragment; concatenating the deltas of one part rebuilds it.

Link copied to clipboard
open override val itemId: String

Identifier of the output item the text belongs to.

Link copied to clipboard
open override val outputIndex: Int

Position of that item in the output list.

Link copied to clipboard
open override val sequenceNumber: Int

Position of the event in the stream; increases monotonically.

Link copied to clipboard
open override val type: String

Raw event type, as sent in the type field.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String