Tutorials
RAG Evaluation
In this tutorial we will show how you can evaluate your RAG application with the help of LangEvals. Check RAGs Context Tracking to learn how to integrate your application with LangWatch and trace your RAG calls.
LangEvals RAG Evaluators
You can easily import RAG evaluators from the langevals_ragas
module and quickly make use of their features.
In the example above we import 3 evaluators and create 3 corresponding entries that are evaluated at the end.
Each entry requires different set of input parameters, depending on what we want to evaluate. Pay attention to the entry2
,
how do you think, what will be the result of its evaluation on context relevancy?
Open in Notebook
You can access and run the code yourself in Jupyter Notebook