class OpenAI::Model

Included Modules

Defined in:

openai/model.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]

Instance Method Detail

def created : Int32 | Nil #

[View source]
def created=(created : Int32 | Nil) #

[View source]
def description : String | Nil #

[View source]
def description=(description : String | Nil) #

[View source]
def id : String #

[View source]
def id=(id : String) #

[View source]
def name : String | Nil #

[View source]
def name=(name : String | Nil) #

[View source]
def object : String #

[View source]
def object=(object : String) #

[View source]
def status : String | Nil #

[View source]
def status=(status : String | Nil) #

[View source]
def to_s #
Description copied from class Object

Returns a nicely readable and concise string representation of this object, typically intended for users.

This method should usually not be overridden. It delegates to #to_s(IO) which can be overridden for custom implementations.

Also see #inspect.


[View source]
def usage : Usage | Nil #

[View source]
def usage=(usage : Usage | Nil) #

[View source]