toggle menu
openai-kotlin
common
switch theme
search in API
openai-core
/
com.aallam.openai.api.model
Package-level
declarations
Types
Types
Model
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.
Model
Id
Link copied to clipboard
@
Serializable
@
JvmInline
value
class
ModelId
(
val
id
:
String
)
Model identifier.
Model
Permission
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.