Skip to content

struct OpenAI::EmbeddingResponse
inherits Struct #

Included modules

JSON::Serializable

Constructors#

.new(object : String, data : Array(Embedding), model : String, usage : Usage)#

View source

.new(pull : JSON::PullParser)#

View source

Methods#

#clone#

View source

#copy_with(object _object = @object, data _data = @data, model _model = @model, usage _usage = @usage)#

View source

#data : Array(Embedding)#

#model : String#

#object : String#

#usage : Usage#