What is DeepEval?
DeepEval is an open-source LLM evaluation framework built like pytest for AI applications. You write evaluation test cases (input, LLM output, expected output), choose metrics (faithfulness, answer relevancy, contextual precision, hallucination, bias, toxicity), and run `deepeval test run`. It integrates with pytest and CI/CD pipelines to catch quality regressions. Confident AI is the cloud platform for running and tracking DeepEval evaluations.
Is DeepEval free?
DeepEval's core framework is completely free and open source (Apache 2.0). The Confident AI cloud platform (for storing results, collaboration, and hosted evaluation) has a free tier and paid plans. Most teams start with the open-source CLI — no Confident AI account needed for basic evaluation.
What evaluation metrics does DeepEval provide?
DeepEval includes: Faithfulness (does the answer match the retrieved context?), Answer Relevancy (does the answer address the question?), Contextual Precision/Recall/Relevancy (RAG-specific retrieval quality), Hallucination (is the answer factually correct?), Bias (does the output show unfair bias?), Toxicity (harmful content?), G-Eval (custom LLM-judge criteria), and more. Most metrics use GPT as a judge by default.
How does DeepEval compare to RAGAS?
Both evaluate RAG pipelines. RAGAS is specialized for RAG evaluation with similar metrics. DeepEval is broader — it covers chatbots, agents, and general LLM outputs beyond RAG, plus non-retrieval metrics like bias, toxicity, and custom criteria via G-Eval. DeepEval's pytest integration is tighter. For pure RAG evaluation, RAGAS is more focused; for comprehensive LLM testing across use cases, DeepEval is more versatile.