Class: Parse::Retrieval::Reranker::Result
- Inherits:
-
Struct
- Object
- Struct
- Parse::Retrieval::Reranker::Result
- Defined in:
- lib/parse/retrieval/reranker.rb
Overview
A single rerank result: the 0-based position of a document in the input list, plus its cross-encoder relevance score (higher is more relevant; range is provider-defined).
Instance Attribute Summary collapse
-
#index ⇒ Object
Returns the value of attribute index.
-
#relevance_score ⇒ Object
Returns the value of attribute relevance_score.
Instance Attribute Details
#index ⇒ Object
Returns the value of attribute index
53 54 55 |
# File 'lib/parse/retrieval/reranker.rb', line 53 def index @index end |
#relevance_score ⇒ Object
Returns the value of attribute relevance_score
53 54 55 |
# File 'lib/parse/retrieval/reranker.rb', line 53 def relevance_score @relevance_score end |