TimedAnswer
org.llm4s.rag.benchmark.TimedAnswer
final case class TimedAnswer(answer: RAGAnswer, retrieval: FiniteDuration, generation: FiniteDuration)
An answer with how long its retrieval and its generation took (#3019).
Value parameters
- answer
-
the answer and its contexts
- generation
-
the model call that wrote the answer
- retrieval
-
embedding the question and searching
Attributes
- Source
- RAGPipeline.scala
- Graph
-
- Supertypes
Members list
In this article
