EvalSample

org.llm4s.rag.evaluation.EvalSample
See theEvalSample companion class
object EvalSample

Attributes

Companion
class
Source
RAGASTypes.scala
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
EvalSample.type

Members list

Type members

Inherited and Abstract types

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
Source
Mirror.scala

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source
Mirror.scala

Value members

Concrete methods

def of(question: String, answer: String, contexts: Seq[String], groundTruth: Option[String], metadata: Map[String, String]): Result[EvalSample]

A sample, or an EvaluationError for a blank question or answer, where the constructor throws (#3017).

A sample, or an EvaluationError for a blank question or answer, where the constructor throws (#3017).

Attributes

Source
RAGASTypes.scala