Class: LiterLlm::EmbeddingRequest
- Inherits:
-
Object
- Object
- LiterLlm::EmbeddingRequest
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#dimensions ⇒ Integer?
Returns the value of attribute dimensions.
-
#encoding_format ⇒ EmbeddingFormat?
Returns the value of attribute encoding_format.
-
#input ⇒ EmbeddingInput?
Returns the value of attribute input.
-
#model ⇒ String?
Returns the value of attribute model.
-
#user ⇒ String?
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.
262 |
# File 'sig/types.rbs', line 262
def initialize: (?model: String, ?input: EmbeddingInput, ?encoding_format: EmbeddingFormat, ?dimensions: Integer, ?user: String) -> void
|
Instance Attribute Details
#dimensions ⇒ Integer?
Returns the value of attribute dimensions.
259 260 261 |
# File 'sig/types.rbs', line 259 def dimensions @dimensions end |
#encoding_format ⇒ EmbeddingFormat?
Returns the value of attribute encoding_format.
258 259 260 |
# File 'sig/types.rbs', line 258 def encoding_format @encoding_format end |
#input ⇒ EmbeddingInput?
Returns the value of attribute input.
257 258 259 |
# File 'sig/types.rbs', line 257 def input @input end |
#model ⇒ String?
Returns the value of attribute model.
256 257 258 |
# File 'sig/types.rbs', line 256 def model @model end |
#user ⇒ String?
Returns the value of attribute user.
260 261 262 |
# File 'sig/types.rbs', line 260 def user @user end |