Score

data class Score(val value: Double, val metric: ScoreMetric)(source)

Represents a relevance score for a search result.

Constructors

Link copied to clipboard
constructor(value: Double, metric: ScoreMetric)

Properties

Link copied to clipboard

the metric used to compute this score (e.g., cosine similarity, dot product)

Link copied to clipboard

the numeric score value