struct EmbeddingObject

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 embedding : Array(Float64) #

[View source]
def embedding=(embedding : Array(Float64)) #

[View source]
def index : Int32 #

[View source]
def index=(index : Int32) #

[View source]
def object : String #

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

[View source]