Package-level declarations

Types

Link copied to clipboard
@Serializable
data class Model(val id: ModelId, val created: Long? = null, val ownedBy: String? = null, val permission: List<ModelPermission>? = null)

OpenAI's Model.

Link copied to clipboard
@Serializable
value class ModelId(val id: String)

Model identifier.

Link copied to clipboard
@Serializable
data class ModelPermission(val id: String, val created: Long, val allowCreateEngine: Boolean, val allowSampling: Boolean, val allowLogprobs: Boolean, val allowSearchIndices: Boolean, val allowView: Boolean, val allowFineTuning: Boolean, val organization: String, val isBlocking: Boolean)

Model permission details.