Class: RubyLLM::Voyage::ContextualizedEmbedding

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

Overview

Typed result returned by contextualized_embed.

Instance Attribute Summary collapse

Instance Attribute Details

#chunker_versionObject

Returns the value of attribute chunker_version

Returns:

  • (Object)

    the current value of chunker_version



47
48
49
# File 'lib/ruby_llm/voyage/results.rb', line 47

def chunker_version
  @chunker_version
end

#input_tokensObject

Returns the value of attribute input_tokens

Returns:

  • (Object)

    the current value of input_tokens



47
48
49
# File 'lib/ruby_llm/voyage/results.rb', line 47

def input_tokens
  @input_tokens
end

#modelObject

Returns the value of attribute model

Returns:

  • (Object)

    the current value of model



47
48
49
# File 'lib/ruby_llm/voyage/results.rb', line 47

def model
  @model
end

#resultsObject

Returns the value of attribute results

Returns:

  • (Object)

    the current value of results



47
48
49
# File 'lib/ruby_llm/voyage/results.rb', line 47

def results
  @results
end