struct

OpenAI::Model

Inherits JSON::Serializable / Struct / Value / Object

GET https://api.openai.com/v1/models

Constructors

new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

created

The Unix timestamp (in seconds) when the model was created.

Source
id

The model identifier, which can be referenced in the API endpoints.

Source
object

The object type, which is always "model".

Source
owned_by

The organization that owns the model.

Source
parent
Source
permission
Source
root
Source