EvaluationError

org.llm4s.rag.evaluation.EvaluationError
See theEvaluationError companion object
final case class EvaluationError(code: Option[String], message: String) extends LLMError

Error type for evaluation failures.

Attributes

Companion
object
Graph
Supertypes
trait LLMError
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def context: Map[String, String]

Additional context information

Additional context information

Attributes

Inherited from:
LLMError
def correlationId: Option[String]

Error correlation IDs for debugging

Error correlation IDs for debugging

Attributes

Inherited from:
LLMError
def formatted: String

Formatted error message with context

Formatted error message with context

Attributes

Inherited from:
LLMError
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Deprecated and Inherited methods

def isRecoverable: Boolean

DEPRECATED: Use type-level markers instead

DEPRECATED: Use type-level markers instead

Attributes

Deprecated
[Since version 0.1.9] Use pattern matching on RecoverableError/NonRecoverableError traits
Inherited from:
LLMError