Closed jltham closed 2 weeks ago
This only affects src/ragas/_topic_adherece.py.
src/ragas/_topic_adherece.py
Previously, it can be complicated to handle the score given by this metric due to possibility of division by zero. I propose to introduce an epsilon in the denominator to avoid that case.
This only affects
src/ragas/_topic_adherece.py
.Previously, it can be complicated to handle the score given by this metric due to possibility of division by zero. I propose to introduce an epsilon in the denominator to avoid that case.