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:



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

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

Instance Attribute Details

#dimensionsInteger? (readonly)

Returns the value of attribute dimensions.

Returns:

  • (Integer, nil)


269
270
271
# File 'sig/types.rbs', line 269

def dimensions
  @dimensions
end

#encoding_formatEmbeddingFormat? (readonly)

Returns the value of attribute encoding_format.

Returns:



268
269
270
# File 'sig/types.rbs', line 268

def encoding_format
  @encoding_format
end

#inputEmbeddingInput (readonly)

Returns the value of attribute input.

Returns:



267
268
269
# File 'sig/types.rbs', line 267

def input
  @input
end

#modelString (readonly)

Returns the value of attribute model.

Returns:

  • (String)


266
267
268
# File 'sig/types.rbs', line 266

def model
  @model
end

#userString? (readonly)

Returns the value of attribute user.

Returns:

  • (String, nil)


270
271
272
# File 'sig/types.rbs', line 270

def user
  @user
end