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.
272 |
# File 'sig/types.rbs', line 272
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.
269 270 271 |
# File 'sig/types.rbs', line 269 def dimensions @dimensions end |
#encoding_format ⇒ EmbeddingFormat? (readonly)
Returns the value of attribute encoding_format.
268 269 270 |
# File 'sig/types.rbs', line 268 def encoding_format @encoding_format end |
#input ⇒ EmbeddingInput (readonly)
Returns the value of attribute input.
267 268 269 |
# File 'sig/types.rbs', line 267 def input @input end |
#model ⇒ String (readonly)
Returns the value of attribute model.
266 267 268 |
# File 'sig/types.rbs', line 266 def model @model end |
#user ⇒ String? (readonly)
Returns the value of attribute user.
270 271 272 |
# File 'sig/types.rbs', line 270 def user @user end |