Class: LiterLlm::EmbeddingRequest
- Inherits:
-
Object
- Object
- LiterLlm::EmbeddingRequest
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#dimensions ⇒ Integer?
readonly
Returns the value of attribute dimensions.
-
#encoding_format ⇒ EmbeddingFormat?
readonly
Returns the value of attribute encoding_format.
-
#input ⇒ EmbeddingInput
readonly
Returns the value of attribute input.
-
#model ⇒ String
readonly
Returns the value of attribute model.
-
#user ⇒ String?
readonly
Returns the value of attribute user.
Instance Method Summary collapse
-
#initialize ⇒ EmbeddingRequest
constructor
A new instance of EmbeddingRequest.
Constructor Details
#initialize ⇒ EmbeddingRequest
Returns a new instance of EmbeddingRequest.
344 |
# File 'sig/types.rbs', line 344
def initialize: (?model: String, ?input: EmbeddingInput, ?encoding_format: EmbeddingFormat, ?dimensions: Integer, ?user: String) -> void
|
Instance Attribute Details
#dimensions ⇒ Integer? (readonly)
Returns the value of attribute dimensions.
341 342 343 |
# File 'sig/types.rbs', line 341 def dimensions @dimensions end |
#encoding_format ⇒ EmbeddingFormat? (readonly)
Returns the value of attribute encoding_format.
340 341 342 |
# File 'sig/types.rbs', line 340 def encoding_format @encoding_format end |
#input ⇒ EmbeddingInput (readonly)
Returns the value of attribute input.
339 340 341 |
# File 'sig/types.rbs', line 339 def input @input end |
#model ⇒ String (readonly)
Returns the value of attribute model.
338 339 340 |
# File 'sig/types.rbs', line 338 def model @model end |
#user ⇒ String? (readonly)
Returns the value of attribute user.
342 343 344 |
# File 'sig/types.rbs', line 342 def user @user end |