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
51 52 53 |
# File 'lib/parse/retrieval/reranker.rb', line 51 def index @index end |
#relevance_score ⇒ Object
Returns the value of attribute relevance_score
51 52 53 |
# File 'lib/parse/retrieval/reranker.rb', line 51 def relevance_score @relevance_score end |