StreamingTokenPayload

@JsonClass(generateAdapter = true)
class StreamingTokenPayload(val id: String, val streamingToken: StreamingToken, val relatedStreamingTokens: List<StreamingToken>? = null) : EntryPayload

A token representing an incremental chunk of a streamed message being composed in real time.

Constructors

Link copied to clipboard
constructor(id: String, streamingToken: StreamingToken, relatedStreamingTokens: List<StreamingToken>? = null)

Properties

Link copied to clipboard

The type discriminator indicating which kind of payload this entry contains.

Link copied to clipboard
open override val id: String

The unique identifier for this conversation entry.

Link copied to clipboard
Link copied to clipboard
@Json(ignore = true)
val text: String?