Atla provides specialized metrics for RAG (Retrieval-Augmented Generation) that can be used to evaluate the effectiveness of your RAG-based applications. These metrics ensure the factual accuracy and contextual relevance of generated responses. Atla will score results on a Likert scale (1-5).

You can pass any or all of these RAG-specific metrics to the evaluate function of the Atla client, and it will perform independent evaluations over the input and generated output provided.

Metric NameDescription
groundednessDetermines if the response is factually based on the provided context.
context_relevanceMeasures how on-point the retrieved context is.

Implementation Details