📄️ LLM Evaluation with Spring AI and Dokimos: Building and Evaluating an AI Agent
This page shows you how to build a RAG agent with Spring AI and score its answers with Dokimos, in Java and Kotlin. You build a knowledge assistant that retrieves documents and writes answers, then you measure how good those answers are.
📄️ Test your LLM in JUnit: evaluate and gate model output in Java
Evaluate LLM output in JUnit with Dokimos. Add one dependency, assert model responses in Java or Kotlin, add an LLM judge, and gate quality in CI.