Skip to main content

Module critic

Module critic 

Source
Expand description

RAG answer evaluation and criticism LLM-based critique of generated answers.

Scores an answer for quality/faithfulness via an OllamaClient, returning an EvaluationResult that callers can use to accept, retry, or refine a response.

Structsยง

Critic
Critic for evaluating RAG answers
EvaluationResult
Result of a critic evaluation