-
Notifications
You must be signed in to change notification settings - Fork 166
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
RagasMetric breaks when used with dataset #782
Comments
Hey @haarisedhi102 where are you finding this?
Also what version of deepeval are you on? |
@penguine-ip This happens on the latest version of deepeval too (
|
@lmpratti You're probably using the DeepEvalBaseLLM wrapper in the ragas metric. Unforuntately the ragas metric only accept langhcain chat models, you can read the docs here: https://docs.confident-ai.com/docs/metrics-ragas#example |
@penguine-ip Thanks a ton! Is there a plan to support |
@lmpratti Unfortunately no because ragas does not have their own ecosystem to support custom models, so out of our control. But we have our own similar implementation of the ragas metrics for this reason |
Describe the bug
RagasMetric breaks when used with dataset
To Reproduce
dataset.evaluate([RagasMetric])
Errors:
TypeError: RagasMetric.a_measure() got an unexpected keyword argument '_show_indicator'
and another
AttributeError: 'GPTModel' object has no attribute 'set_run_config'
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: