Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
earfanfan opened this issue Dec 26, 2024 · 1 comment
Labels
documentation Improvements or additions to documentation question Further information is requested

Comments

@earfanfan
Copy link

[ ] 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.

@earfanfan earfanfan added the question Further information is requested label Dec 26, 2024
@dosubot dosubot bot added the documentation Improvements or additions to documentation label Dec 26, 2024
@shahules786
Copy link
Member

Hey @earfanfan , nice catch. Would you like to raise a PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants