Class: RubyLLM::Voyage::ContextualizedResult

Inherits:
Struct
  • Object
show all
Defined in:
lib/ruby_llm/voyage/results.rb

Overview

Contextualized chunks belonging to one input document or query.

Instance Attribute Summary collapse

Instance Attribute Details

#chunksObject

Returns the value of attribute chunks

Returns:

  • (Object)

    the current value of chunks



44
45
46
# File 'lib/ruby_llm/voyage/results.rb', line 44

def chunks
  @chunks
end

#indexObject

Returns the value of attribute index

Returns:

  • (Object)

    the current value of index



44
45
46
# File 'lib/ruby_llm/voyage/results.rb', line 44

def index
  @index
end