OpenAiState

Types

Link copied to clipboard
data class Error(val requestText: String, val reason: String) : OpenAiState
Link copied to clipboard
object Idle : OpenAiState
Link copied to clipboard
@Serializable
data class Requesting(val requestText: String) : OpenAiState
Link copied to clipboard
@Serializable
data class Responding(val elapsedRealtime: Long, val requestText: String, val responseText: String) : OpenAiState
Link copied to clipboard
@Serializable
data class Result(val elapsedRealtime: Long, val requestText: String, val responseText: String) : OpenAiState

Functions

Link copied to clipboard
open override fun toString(): String