Use evaluators and RAG
Root Signals provides evaluators for RAG use cases, where you can give the context as part of the evaluated content.
One such evaluator is the Truthfulness evaluator, which measures the factual consistency of the generated answer against the given context and general knowledge.
Here is an example of running the Truthfulness evaluator using the Python SDK. Pass the context used to get the LLM response in the contexts parameter.
Last updated