RerankResult

org.llm4s.reranker.RerankResult
final case class RerankResult(index: Int, score: Double, document: String)

Result of reranking a single document.

Value parameters

document

The original document content

index

Original index in the input documents

score

Relevance score from reranker (higher is better, typically 0-1)

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product