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.
279 |
# File 'sig/types.rbs', line 279
def initialize: (object: String, embedding: Array[Float], index: Integer) -> void
|
Instance Attribute Details
#embedding ⇒ Array[Float] (readonly)
Returns the value of attribute embedding.
276 277 278 |
# File 'sig/types.rbs', line 276 def @embedding end |
#index ⇒ Integer (readonly)
Returns the value of attribute index.
277 278 279 |
# File 'sig/types.rbs', line 277 def index @index end |
#object ⇒ String (readonly)
Returns the value of attribute object.
275 276 277 |
# File 'sig/types.rbs', line 275 def object @object end |