struct EmbeddingResponse

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 data : Array(EmbeddingObject) #

[View source]
def data=(data : Array(EmbeddingObject)) #

[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 : UsageInfo #

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

[View source]