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.
353 |
# File 'sig/types.rbs', line 353
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.
349 350 351 |
# File 'sig/types.rbs', line 349 def data @data end |
#model ⇒ String (readonly)
Returns the value of attribute model.
350 351 352 |
# File 'sig/types.rbs', line 350 def model @model end |
#object ⇒ String (readonly)
Returns the value of attribute object.
348 349 350 |
# File 'sig/types.rbs', line 348 def object @object end |
#usage ⇒ Usage? (readonly)
Returns the value of attribute usage.
351 352 353 |
# File 'sig/types.rbs', line 351 def usage @usage end |