Class: LiterLlm::EmbeddingObject

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeEmbeddingObject

Returns a new instance of EmbeddingObject.

Parameters:

  • object: (String)
  • embedding: (Array[Float])
  • index: (Integer)


334
# File 'sig/types.rbs', line 334

def initialize: (object: String, embedding: Array[Float], index: Integer) -> void

Instance Attribute Details

#embeddingArray[Float] (readonly)

Returns the value of attribute embedding.

Returns:

  • (Array[Float])


331
332
333
# File 'sig/types.rbs', line 331

def embedding
  @embedding
end

#indexInteger (readonly)

Returns the value of attribute index.

Returns:

  • (Integer)


332
333
334
# File 'sig/types.rbs', line 332

def index
  @index
end

#objectString (readonly)

Returns the value of attribute object.

Returns:

  • (String)


330
331
332
# File 'sig/types.rbs', line 330

def object
  @object
end