Completed

data class Completed(val tokenCount: Int, val stopReason: StopReason) : TokenEvent(source)

Generation finished. This is the last event emitted.

Constructors

Link copied to clipboard
constructor(tokenCount: Int, stopReason: StopReason)

Properties

Link copied to clipboard

why generation stopped.

Link copied to clipboard

number of Tokens emitted.