Skip to content

struct OpenAI::EmbeddingResponseBase64
inherits Struct #

Included modules

JSON::Serializable

Constructors#

.new(object : String, data : Array(Base64Embedding), 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(Base64Embedding)#

#model : String#

#object : String#

#to_embedding_response : EmbeddingResponse#

View source

#usage : Usage#