Skip to content

little wrong in this page <https://docs.ragas.io/en/stable/concepts/metrics/overview/#different-types-of-metrics>?Β #1793

Closed
@earfanfan

Description

@earfanfan

[ ] I checked the documentation and related resources ,and i find little wrong in this page https://docs.ragas.io/en/stable/concepts/metrics/overview/#different-types-of-metrics?

Your Question
The code example has a typo in the word。

Code Examples
the page says:

from ragas.metrics import AgentGoalAccuracy
from ragas import MultiTurnSample

scorer = AgentGoalAccuracy()
await metric.multi_turn_ascore(sample)

but, i think it should be like this:

from ragas.metrics import AgentGoalAccuracy
from ragas import MultiTurnSample

scorer = AgentGoalAccuracy()
await scorer.multi_turn_ascore(sample)

metric.multi_turn_ascore should be replace of scorer.multi_turn_ascore.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationquestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions