ragas
ragas copied to clipboard
More verbose error handling for #1990
Description
Closes #1990 by adding type checks and improved error handling. This issue was a bit unintuitive when I came across it, and is easily fixed by having a more descriptive error message.
Changes Made
Added type checks in the evaluate function which validate the metrics arguments.
I also noticed a missing step in the development instructions so fixed that while I was there.