DeepEval
DeepEvalBase
¶
Bases: MetricBase
Base class for DeepEval metrics.
Here we use AzureChatOpenAI interface; replace if needed.
Source code in ragfit/evaluation/deep.py
Faithfulness
¶
Bases: DeepEvalBase
Faithfulness metric from DeepEval, based on RAGAS.
Measures faithfulness of generated text by comparing it to the target text.
Source code in ragfit/evaluation/deep.py
Hallucination
¶
Bases: DeepEvalBase
Hallucination metric from DeepEval.
Measures hallucination of generated text by comparing it to the retrieved documents.
Source code in ragfit/evaluation/deep.py
Relevancy
¶
Bases: DeepEvalBase
Answer relevancy metric from DeepEval, based on RAGAS.
Measures relevancy of generated text by comparing it to the retrieved documents.