A function that evaluates whether an answer is factual or hallucinated based on a query and reference text.
Use createFaithfulnessEvaluator instead.
Creates a function that evaluates whether an answer is factual or hallucinated based on a query and reference text.
Note: This is deprecated. Please use createFaithfulnessEvaluator which:
The arguments for creating the hallucination evaluator.