ragas icon indicating copy to clipboard operation
ragas copied to clipboard

Get explanations along with metric scores

Open saiprasath21 opened this issue 1 year ago • 2 comments

[ ] I checked the documentation and related resources and couldn't find an answer to my question.

I want to get all the intermediate steps performed while getting a metric score. This will be helpful to understand why the model took a particular action.

saiprasath21 avatar Sep 27 '24 06:09 saiprasath21

he @saiprasath21 you can do that with Explainability through Logging and tracing - Ragas or writting your own langchain callbacks

but can you check out the docs and let me know if it works for you 🙂

jjmachan avatar Sep 30 '24 17:09 jjmachan

Hey @jjmachan , yes this helps a lot.

I'm now passing a langfuse call handler to ragas using the evaluate func. However, all my dataset item spans are recorded under the same trace. Is there a way to create a separate trace for each dataset item?

saiprasath21 avatar Oct 02 '24 02:10 saiprasath21