haystack/releasenotes/notes/avoid-LLM-based-evaluators-returning-NaN-579bc4593febb691.yaml
David S. Batista 798dc4a4a5
fix: avoid FaithfulnessEvaluator and ContextRelevanceEvaluator return Nan (#7685)
* initial import

* fixing tests

* relaxing condition

* adding safeguard for ContextRelevanceEvaluator as well

* adding release notes
2024-05-14 17:08:51 +02:00

5 lines
164 B
YAML

---
fixes:
- |
`FaithfullnessEvaluator` and `ContextRelevanceEvaluator` now return `0` instead of `NaN` when applied to an empty context or empty statements.