Class: RubyLLM::Voyage::RerankResult
- Inherits:
-
Struct
- Object
- Struct
- RubyLLM::Voyage::RerankResult
- Defined in:
- lib/ruby_llm/voyage/results.rb
Overview
One document returned by a reranking request.
Instance Attribute Summary collapse
-
#document ⇒ Object
Returns the value of attribute document.
-
#index ⇒ Object
Returns the value of attribute index.
-
#relevance_score ⇒ Object
Returns the value of attribute relevance_score.
Instance Attribute Details
#document ⇒ Object
Returns the value of attribute document
6 7 8 |
# File 'lib/ruby_llm/voyage/results.rb', line 6 def document @document end |
#index ⇒ Object
Returns the value of attribute index
6 7 8 |
# File 'lib/ruby_llm/voyage/results.rb', line 6 def index @index end |
#relevance_score ⇒ Object
Returns the value of attribute relevance_score
6 7 8 |
# File 'lib/ruby_llm/voyage/results.rb', line 6 def relevance_score @relevance_score end |