OutputItemEvent

An event marking the start or the end of one item of ModelResponse.output.

Inheritors

Properties

Link copied to clipboard
abstract val item: ResponseItem

The item itself — empty when it opens, complete when it closes.

Link copied to clipboard
abstract val outputIndex: Int

Position of the item in the output list.

Link copied to clipboard
abstract val sequenceNumber: Int

Position of the event in the stream; increases monotonically.

Link copied to clipboard
abstract 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