struct ChatResponse

Included Modules

Defined in:

crystal-mistral/types.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]

Instance Method Detail

def choices : Array(Choice) #

[View source]
def choices=(choices : Array(Choice)) #

[View source]
def created : Int64 #

[View source]
def created=(created : Int64) #

[View source]
def id : String #

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

[View source]
def model : String #

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

[View source]
def object : String #

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

[View source]
def usage : Usage #

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

[View source]