MetricResult

org.llm4s.rag.evaluation.MetricResult
final case class MetricResult(metricName: String, score: Double, details: Map[String, Any])

Result of evaluating a single metric.

Value parameters

details

Metric-specific breakdown (e.g., individual claim scores)

metricName

Unique identifier of the metric (e.g., "faithfulness")

score

Score between 0.0 (worst) and 1.0 (best)

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