Skip to content

docs: add migration note for ConversationRelevancyMetric → TurnRelevancyMetric#2428

Open
YassinNouh21 wants to merge 1 commit intoconfident-ai:mainfrom
YassinNouh21:docs/add-turn-relevancy-migration-note
Open

docs: add migration note for ConversationRelevancyMetric → TurnRelevancyMetric#2428
YassinNouh21 wants to merge 1 commit intoconfident-ai:mainfrom
YassinNouh21:docs/add-turn-relevancy-migration-note

Conversation

@YassinNouh21
Copy link

Summary

Added a migration note to the Turn Relevancy docs page to help users upgrading from DeepEval v3.6.x or earlier.

Problem

Users upgrading from older versions encounter ImportError: cannot import name 'ConversationRelevancyMetric' with no explanation of what changed or how to fix it.

Solution

Added a :::note admonition at the top of the Turn Relevancy docs page explaining:

  • The metric was renamed from ConversationRelevancyMetric to TurnRelevancyMetric
  • Example showing the old vs new import
  • Clarification that the API remains the same

Fixes #2321

…ncyMetric

Add a note to the Turn Relevancy docs page explaining that
ConversationRelevancyMetric was renamed to TurnRelevancyMetric
in v3.7.x, with example import changes.

Fixes confident-ai#2321
@vercel
Copy link

vercel bot commented Jan 11, 2026

@YassinNouh21 is attempting to deploy a commit to the Confident AI Team on Vercel.

A member of the Team first needs to authorize it.

@greptile-apps
Copy link
Contributor

greptile-apps bot commented Jan 11, 2026

PR author is not in the allowed authors list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ConversationRelevancyMetric Removed in DeepEval 3.7.x, Need Official Replacement & Clarification

1 participant