RAGAnswer

org.llm4s.rag.benchmark.RAGAnswer
final case class RAGAnswer(question: String, answer: String, contexts: Seq[String], searchResults: Seq[HybridSearchResult])

Result from RAG pipeline answer generation.

Value parameters

answer

The generated answer

contexts

Retrieved context chunks

question

The original question

searchResults

Full search results with scores

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