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.
268 |
# File 'sig/types.rbs', line 268
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.
264 265 266 |
# File 'sig/types.rbs', line 264 def data @data end |
#model ⇒ String (readonly)
Returns the value of attribute model.
265 266 267 |
# File 'sig/types.rbs', line 265 def model @model end |
#object ⇒ String (readonly)
Returns the value of attribute object.
263 264 265 |
# File 'sig/types.rbs', line 263 def object @object end |
#usage ⇒ Usage (readonly)
Returns the value of attribute usage.
266 267 268 |
# File 'sig/types.rbs', line 266 def usage @usage end |