struct OpenAI::Model

Overview

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

Included Modules

Extended Modules

Defined in:

openai/api/model.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def created : Time #

[View source]
def id : String #

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


[View source]
def object : String #

The object type, which is always "model".


[View source]
def owned_by : String #

The organization that owns the model.


[View source]
def parent : String | Nil #

[View source]
def permission : Array(Permission) | Nil #

[View source]
def root : String | Nil #

[View source]