Class ConversationCompletenessEvaluator

java.lang.Object
com.tnsai.evaluation.evaluators.AbstractJudgeEvaluator
com.tnsai.evaluation.evaluators.multiturn.ConversationCompletenessEvaluator
All Implemented Interfaces:
Evaluator

public final class ConversationCompletenessEvaluator extends AbstractJudgeEvaluator
Measures whether a multi-turn conversation achieved its stated goal.

Uses LLM-as-judge to assess whether the user's intent was fully resolved by the end of the conversation.

Score is normalized to [0.0, 1.0] from a 1-5 scale: 1 = goal not addressed, 5 = goal fully achieved.

Requires conversation_history in metadata as List<Map<String, String>> with "role" and "content", and conversation_goal as a String.

Since:
0.3.0
  • Constructor Details

    • ConversationCompletenessEvaluator

      public ConversationCompletenessEvaluator(LLMJudge judge)