Class: LiterLlm::EmbeddingResponse
- Inherits:
-
Object
- Object
- LiterLlm::EmbeddingResponse
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#data ⇒ Array[EmbeddingObject]
readonly
Returns the value of attribute data.
-
#model ⇒ String
readonly
Returns the value of attribute model.
-
#object ⇒ String
readonly
Returns the value of attribute object.
-
#usage ⇒ Usage
readonly
Returns the value of attribute usage.
Instance Method Summary collapse
-
#initialize ⇒ EmbeddingResponse
constructor
A new instance of EmbeddingResponse.
Constructor Details
#initialize ⇒ EmbeddingResponse
Returns a new instance of EmbeddingResponse.
271 |
# File 'sig/types.rbs', line 271
def initialize: (object: String, data: Array[EmbeddingObject], model: String, ?usage: Usage) -> void
|
Instance Attribute Details
#data ⇒ Array[EmbeddingObject] (readonly)
Returns the value of attribute data.
267 268 269 |
# File 'sig/types.rbs', line 267 def data @data end |
#model ⇒ String (readonly)
Returns the value of attribute model.
268 269 270 |
# File 'sig/types.rbs', line 268 def model @model end |
#object ⇒ String (readonly)
Returns the value of attribute object.
266 267 268 |
# File 'sig/types.rbs', line 266 def object @object end |
#usage ⇒ Usage (readonly)
Returns the value of attribute usage.
269 270 271 |
# File 'sig/types.rbs', line 269 def usage @usage end |