OpenAIStreamDelta

class OpenAIStreamDelta(val content: String? = null, val refusal: String? = null, val role: String? = null, val toolCalls: List<OpenAIToolCall>? = null)(source)

Constructors

Link copied to clipboard
constructor(content: String? = null, refusal: String? = null, role: String? = null, toolCalls: List<OpenAIToolCall>? = null)

Properties

Link copied to clipboard
val content: String? = null

The contents of the chunk message.

Link copied to clipboard
val refusal: String? = null

The refusal message generated by the model.

Link copied to clipboard
val role: String? = null

The role of the author of this message.

Link copied to clipboard