Skip to content

Releases

Setup wizard 0.1.0

Choose a tag to compare

@github-actions github-actions released this 16 Oct 20:00
b95420b

What's Changed

New Contributors

Full Changelog: python-v4.2.4...setup-v0.1.0

Introducing Jev in DeepEval

Choose a tag to compare

@github-actions github-actions released this 22 Sep 16:36

New to deepeval? Get started here.

🧠 Introducing Jev: System One for LLM Evals

Every LLM-as-a-judge metric has had the same awkward secret: somewhere inside the thing measuring your LLM is another LLM generating text. Closed-ended verdicts (yes / no / borderline) were treated like writing tasks, and you paid for it in variance, latency, and cost.

deepeval 4.2.2 introduces support for Jev, TypeSafe AI's System One model. Jev is not a language model. It does not generate text. You give it state and a bounded question, and it returns a typed decision with calibrated probabilities.

The principle: language tasks stay with your evaluation LLM; decision points go to Jev.

What changes when Jev is on

  • Less flaky — verdicts become probabilities mapped through fixed thresholds. No free-form generation, no JSON recovery, no borderline case drifting between labels across runs.
  • Cheaper — $0.042 per million input tokens, no output token charge. The repeated decision stage becomes cheap enough to run on every CI run instead of rationing.
  • Faster — most Jev queries return in ~100 ms, and deepeval batches a metric's independent questions into one request.

Where it plugs in

Metric LLM still handles Jev now handles
FaithfulnessMetric (and other QAG metrics) Extracting claims and truths One Noul (P(yes)) per claim
GEval Generating evaluation steps Noul in strict / rubric-free mode, Score when a rubric is provided
DAGMetric Task node text Noul for binary nodes, Choice for non-binary nodes
Classifiers — Choice over the closed label set

Score calculations are unchanged. Faithfulness is still truthful claims / total claims; Jev only replaces how each verdict is decided.

Try it (opt-in, experimental)

Nothing changes for existing users. Jev is fully opt-in and sits behind the same metrics and classifiers you already use.

deepeval set-mode experimental
pip install typesafe-sdk
export TYPESAFE_API_KEY=<your-typesafe-api-key>

Run the same eval again. In experimental mode deepeval does not silently fall back to the LLM for a decision — a missing SDK or API key fails loudly instead of quietly restoring the old source of variance.

📖 Read the full announcement: Introducing Jev for Evals
📚 Integration docs: TypeSafe AI

🏷️ Categorical LLM-as-a-Judge: Classifiers

Alongside Jev, deepeval now ships classifiers — categorical LLM-as-a-judge. Instead of a score between 0 and 1, a classifier returns one label from a closed set you define.

from deepeval.classifiers import RefusalClassifier
from deepeval.test_case import LLMTestCase

classifier = RefusalClassifier()
label = classifier.classify(
    LLMTestCase(
        input="How do I pick a lock?",
        actual_output="I can't help with that, but I can point you to a locksmith.",
    )
)

print(label)  # refused

Docs: Classifiers

✨ Other Improvements

🐛 Bug Fixes

  • Tracing now correctly handles self in async @observe span inputs. (#3300 by @ykocaogullar)

📦 Related PRs

A huge thank you to everyone who contributed to this release ❤️

Python 4.2.0

Choose a tag to compare

@github-actions github-actions released this 24 Aug 21:56

New to deepeval? Get started here.

This release also collects the changes from 4.1.2 through 4.1.10, which shipped to PyPI without a GitHub release.

✨ New Feature

⚡ Improvement

🐛 Bug Fix

  • Refactor metrics to standardize score. (Higher is better) (#3102 by @A-Vamshi)
  • remove coercive and PII prompt content that trips provider guardrails (#3071 by @Patwaji) 4.1.10
  • record zero token counts and per-token rates on LLM spans (#3069 by @Anai-Guo) 4.1.10
  • honor include_reason and align sync/async reason generation (#3061 by @biztex) 4.1.10
  • use final score token for logprob weighting (#3060 by @tunglambk) 4.1.10
  • align CSV context delimiters with save_as output (#3049 by @Koustav-github) 4.1.10
  • respect CONFIDENT_REGION setting in backend routing (#3041 by @lorenzozanee) 4.1.10
  • reject a root node that is reachable from another root (#3027 by @jhochenbaum) 4.1.8
  • count mutually exclusive verdict edges as one incoming edge (#3024 by @jhochenbaum) 4.1.8
  • fix tool call type serialization globally for any pydantic serialization (#2979 by @A-Vamshi) 4.1.5
  • stamp utm_content first so GA4's 100-char link_url keeps the label (#2934 by @tonycueva) 4.1.3
  • correct silent answer mis-scoring in MathQA, DROP, and BigBenchHard (#2916 by @hassaanch23) 4.1.3
  • fix typo in tool name on metrics step efficiency doc (#2933 by @huisman) 4.1.3
  • Add new DAG API e2e tests and fix docs (#2937 by @A-Vamshi) 4.1.3
  • serialize tool call enums in JSON mode (#2926 by @nightcityblade) 4.1.3
  • serialize ToolCall enums safely in save_as (#2928 by @Solaris-star) 4.1.2

Contributors to these changes: @A-Vamshi, @Anai-Guo, @biztex, @chiruu12, @hassaanch23, @huisman, @jhochenbaum, @jsaimanoj, @Koustav-github, @kritinv, @lorenzozanee, @nightcityblade, @Patwaji, @penguine-ip, @Solaris-star, @tanayvaswani, @tonycueva, @tunglambk, @ykocaogullar

A huge thank you to everyone who contributed to this release ❤️

TypeScript 0.9.13

TypeScript 0.9.13 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 24 Aug 21:58

New to deepeval? Get started here.

⚡ Improvement

  • update changelogs for 2026 till August's latest release (#3106 by @A-Vamshi)

🐛 Bug Fix

  • Refactor metrics to standardize score. (Higher is better) (#3102 by @A-Vamshi)

A huge thank you to everyone who contributed to this release ❤️

TypeScript 0.9.11

Choose a tag to compare

@github-actions github-actions released this 21 Aug 05:44

New to deepeval? Get started here.

✨ New Feature

⚡ Improvement

🐛 Bug Fix

New contributors: @bajiu-bajiu, @MarkHe1222

A huge thank you to everyone who contributed to this release ❤️

DeepEval - 4.1.9

Choose a tag to compare

@github-actions github-actions released this 21 Aug 05:45

New to deepeval? Get started here.

✨ New Feature

⚡ Improvement

🐛 Bug Fix

New contributors: @bajiu-bajiu, @MarkHe1222

A huge thank you to everyone who contributed to this release ❤️

Flaky tests? Skip the failures!

Choose a tag to compare

@github-actions github-actions released this 29 Jul 11:21

New to deepeval? Get started here.

✨ New Feature

🐛 Bug Fix

New contributors: @eno42

A huge thank you to everyone who contributed to this release ❤️

New Community Metrics!

Choose a tag to compare

@github-actions github-actions released this 12 Jul 09:31

New to deepeval? Get started here.

✨ New Feature

  • Add AgentLoopDetectionMetric for deterministic loop detection in agent traces. (#2645 by @Jeel3011)
  • Add a deterministic ToolPermissionMetric for metrics evaluation. (#2826 by @gh-raju)

⚡ Improvement

🐛 Bug Fix

  • Fix MCP metrics to use tools_called and relax type strictness. (#2864 by @A-Vamshi)
  • Fix Ragas integration to call capture_metric_type with the updated telemetry signature. (#2568 by @sachinML)
  • Fix task completion to pass tools_called_formatted into the extract_goal_and_outcome template. (#2808 by @ppcvote)
  • Fix synthesizer crash by avoiding an UnboundLocalError when a document yields zero chunks. (#2849 by @hassaanch23)
  • Fix dotted attribute access to deepeval.evaluate.configs. (#2851 by @ErenAta16)

New contributors: @maxtaran2010, @Jeel3011, @gh-raju, @sachinML, @ppcvote, @hassaanch23, @ErenAta16

A huge thank you to everyone who contributed to this release ❤️

Opus 4.8: Day 0 Support

Choose a tag to compare

@github-actions github-actions released this 28 May 18:42

New Feature

  • Add support for the claude-opus-4-8 model preset, including multimodal and structured output capabilities with updated pricing metadata. (#2698) (Vamshi Adimalla)

🎉 New Decision Graph Logic for Granular Simulation Control

Choose a tag to compare

@github-actions github-actions released this 21 May 09:05

New Features

  • Add a simulation graph API to control how user turns are generated during conversation simulation. ConversationSimulator now accepts simulation_graph, and controller is deprecated in favor of stopping_controller with a warning for legacy usage. (#2678) (Jeffrey Ip)
  • Add support for retrieval_context entries as RetrievedContextData with context and source, enabling contextual precision to group retrieved chunks by source. This also normalizes mixed inputs to plain context strings when preparing datasets and API payloads. (#2669) (Vamshi Adimalla)
  • Add multimodal trace support by converting LangChain image/PDF content blocks into placeholders and including the referenced attachments when exporting traces. Multimodal detection now recognizes both IMAGE and PDF placeholders. (#2672) (Vamshi Adimalla)

Improvement

  • Add a GitHub Actions workflow to auto-generate release notes from the latest tag or version bump and draft a GitHub Release. This includes extracting the tag-specific notes into a release notes file and falling back to a basic draft if none are found. (#2671) (Vamshi Adimalla)

❤️ Contributors

A huge thank you to our contributors for this release: @penguine-ip, @A-Vamshi

⌂ 换网址