struct OpenAI::EmbeddingRequest
inherits Struct
#
Included modules
JSON::Serializable
OpenAI::EmbeddingRequest
Struct
#JSON::Serializable
.new(input : Array(String) | Array(Array(Int32)), model : String, user : String | Nil = nil, encoding_format : EmbeddingEncodingFormat | Nil = nil, dimensions : Int32 | Nil = nil)
##copy_with(input _input = @input, model _model = @model, user _user = @user, encoding_format _encoding_format = @encoding_format, dimensions _dimensions = @dimensions)
##dimensions : Int32 | ::Nil
##encoding_format : EmbeddingEncodingFormat | ::Nil
##input : Array(String) | Array(Array(Int32))
##model : String
##user : String | ::Nil
#