Change8

Migrating to RAGAS v0.4.1

Version v0.4.1 introduces 1 breaking change. This guide details how to update your code.

Released: 12/10/2025

1
Breaking Changes
1
Migration Steps
9
Affected Symbols

⚠️ Check Your Code

If you use any of these symbols, you need to read this guide:

BasePromptToolCallAccuracyToolCallF1TopicAdherenceAgentGoalAccuracyTestsetGeneratorapply_transformsAnswerRelevancy.embed_textAnswerRelevancy.aembed_text

Breaking Changes

Issue #1

The function `embed_text()` has been replaced by `aembed_text()` in the `AnswerRelevancy` metric. Users must update their code to use `aembed_text()` for asynchronous embedding calls.

Migration Steps

  1. 1
    If you are using `embed_text()` in `AnswerRelevancy`, replace all calls with `aembed_text()`.

Release Summary

This release focuses heavily on migrating core metrics (ToolCallAccuracy, ToolCallF1, TopicAdherence, AgentGoalAccuracy, Rubrics) to utilize the collections API for better structure. It also introduces a breaking change by renaming `embed_text` to `aembed_text` in AnswerRelevancy.

Need More Details?

View the full release notes and all changes for RAGAS v0.4.1.

View Full Changelog