Class: LiterLlm::EmbeddingObject
- Inherits:
-
Object
- Object
- LiterLlm::EmbeddingObject
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#embedding ⇒ Array[Float]
readonly
Returns the value of attribute embedding.
-
#index ⇒ Integer
readonly
Returns the value of attribute index.
-
#object ⇒ String
readonly
Returns the value of attribute object.
Instance Method Summary collapse
-
#initialize ⇒ EmbeddingObject
constructor
A new instance of EmbeddingObject.
Constructor Details
#initialize ⇒ EmbeddingObject
Returns a new instance of EmbeddingObject.
289 |
# File 'sig/types.rbs', line 289
def initialize: (object: String, embedding: Array[Float], index: Integer) -> void
|
Instance Attribute Details
#embedding ⇒ Array[Float] (readonly)
Returns the value of attribute embedding.
286 287 288 |
# File 'sig/types.rbs', line 286 def @embedding end |
#index ⇒ Integer (readonly)
Returns the value of attribute index.
287 288 289 |
# File 'sig/types.rbs', line 287 def index @index end |
#object ⇒ String (readonly)
Returns the value of attribute object.
285 286 287 |
# File 'sig/types.rbs', line 285 def object @object end |