Class: LiterLlm::EmbeddingRequest

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeEmbeddingRequest

Returns a new instance of EmbeddingRequest.

Parameters:



262
# File 'sig/types.rbs', line 262

def initialize: (?model: String, ?input: EmbeddingInput, ?encoding_format: EmbeddingFormat, ?dimensions: Integer, ?user: String) -> void

Instance Attribute Details

#dimensionsInteger?

Returns the value of attribute dimensions.

Returns:

  • (Integer, nil)


259
260
261
# File 'sig/types.rbs', line 259

def dimensions
  @dimensions
end

#encoding_formatEmbeddingFormat?

Returns the value of attribute encoding_format.

Returns:



258
259
260
# File 'sig/types.rbs', line 258

def encoding_format
  @encoding_format
end

#inputEmbeddingInput?

Returns the value of attribute input.

Returns:



257
258
259
# File 'sig/types.rbs', line 257

def input
  @input
end

#modelString?

Returns the value of attribute model.

Returns:

  • (String, nil)


256
257
258
# File 'sig/types.rbs', line 256

def model
  @model
end

#userString?

Returns the value of attribute user.

Returns:

  • (String, nil)


260
261
262
# File 'sig/types.rbs', line 260

def user
  @user
end