Skip to content

docs: Response Relevancy title doesn't match Answer Relevancy name of the metric #3073

Open

Description

@r3v5

[x ] I have checked the documentation and related resources and couldn't resolve my bug.

There is a mismatch between the names: Response Relevancy and Answer Relevancy which confuses developers.

Image Image

Proposed fix: rename Response Relevancy to Answer Relevancy for clarity.
Ragas version: latest

Activity

  1. added
    bugSomething isn't working
    on Oct 28, 2026
  2. inchang-ing commented on Oct 28, 2026

    @inchang-ing

    Thanks for the report — I can reproduce this from the docs source. I'll work on this.

    Repro / where it shows up

    The metric page itself is already titled "Answer Relevancy" (docs/concepts/metrics/available_metrics/answer_relevance.md, line 1: ## Answer Relevancy), but four places still call it "Response Relevancy":

    • docs/concepts/metrics/available_metrics/index.md:12 — [Response Relevancy](answer_relevance.md)
    • mkdocs.yml:35 — nav entry Response Relevancy: concepts/metrics/available_metrics/answer_relevance.md
    • docs/howtos/integrations/gemini.md:464 — plain list item Response Relevancy
    • docs/howtos/integrations/r2r.md:159 — [Response Relevancy](.../answer_relevance/#response-relevancy)

    The last one is also a broken anchor: the heading it points at is "Answer Relevancy", so the slug is #answer-relevancy, not #response-relevancy. That link currently jumps to the top of the page at best.

    Root cause

    The metric was renamed to Answer Relevancy and the metric page heading was updated, but the navigation label, the index list, and the two integration how-tos kept the old name (and the old slug).

    Planned fix

    Rename the label to "Answer Relevancy" in those four places and correct the r2r anchor to #answer-relevancy, so the sidebar, the index and the how-tos match the metric name and the link resolves.

    I'll leave the ResponseRelevancy class name in the "Legacy Metrics API" example of answer_relevance.md alone — that's the deprecated API (slated for removal in 1.0) and renaming it is a separate, breaking change.

    Fixes #3073

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions