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:



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

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)


341
342
343
# File 'sig/types.rbs', line 341

def dimensions
  @dimensions
end

#encoding_formatEmbeddingFormat? (readonly)

Returns the value of attribute encoding_format.

Returns:



340
341
342
# File 'sig/types.rbs', line 340

def encoding_format
  @encoding_format
end

#inputEmbeddingInput (readonly)

Returns the value of attribute input.

Returns:



339
340
341
# File 'sig/types.rbs', line 339

def input
  @input
end

#modelString (readonly)

Returns the value of attribute model.

Returns:

  • (String)


338
339
340
# File 'sig/types.rbs', line 338

def model
  @model
end

#userString? (readonly)

Returns the value of attribute user.

Returns:

  • (String, nil)


342
343
344
# File 'sig/types.rbs', line 342

def user
  @user
end