You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could you confirm that you only get this error when calling report.save method? I've just tried to call this method and it's working fine here, so I think I'll need more information about your specs so I can try to simulate your env. Could you share what is you OS, Python version and pip list?
Just so you know, we constrained the version of some external libs (such as ragas and langchain) which were causing incompatibilities with generate_testset and evaluate methods. You can try to use this giskard version while it's not released yet: #2122.
We always compute correctness, even if here only ragas_context_recall and ragas_context_precision are passed. So it explains why correctness is involved in the error.
Now we are using a LLM to generate JSON, and here the error seems to be KeyError: 'correctness', which may mean that the LLM that has been used just failed to generate the correctness key.
So it may just be an error in the evaluate function and a LLM problem.
Uh oh!
There was an error while loading. Please reload this page.
When running evaluate from giskard.rag with the specified metrics ragas_context_recall and ragas_context_precision, the following error occurs
ERROR
The text was updated successfully, but these errors were encountered: