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.
281 |
# File 'sig/types.rbs', line 281
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.
277 278 279 |
# File 'sig/types.rbs', line 277 def data @data end |
#model ⇒ String (readonly)
Returns the value of attribute model.
278 279 280 |
# File 'sig/types.rbs', line 278 def model @model end |
#object ⇒ String (readonly)
Returns the value of attribute object.
276 277 278 |
# File 'sig/types.rbs', line 276 def object @object end |
#usage ⇒ Usage? (readonly)
Returns the value of attribute usage.
279 280 281 |
# File 'sig/types.rbs', line 279 def usage @usage end |