FactAttribution

org.llm4s.rag.evaluation.metrics.FactAttribution
final case class FactAttribution(fact: String, covered: Boolean, sourceContext: Option[Int])

Result of attributing a fact to contexts.

Value parameters

covered

Whether the fact is covered by any context

fact

The fact from ground truth

sourceContext

The context number (1-indexed) that covers this fact, if any

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