AbstractStreamingToken

Base interface for streaming tokens used to render message content in real time as it is received.

Inheritors

Properties

Link copied to clipboard
abstract val batchNumber: Int

The batch number this token belongs to, for grouping related tokens.

Link copied to clipboard
abstract val sequenceNumber: Int

The position of this token within the stream sequence.

Link copied to clipboard

The identifier of the message this token contributes content to.

Link copied to clipboard
abstract val timestamp: Long

The server timestamp when this token was generated.

Link copied to clipboard

The type of this streaming token (validation or message content).

Link copied to clipboard
abstract val turnId: String

The identifier for the conversational turn this token is part of.