explodinggradients / ragas

Supercharge Your LLM Application Evaluations 🚀
https://docs.ragas.io
Apache License 2.0
7.3k stars 745 forks source link

In NoiseSensitivity, the `.` should be deleted as the split condition. #1626

Closed jasinliu closed 2 weeks ago

jasinliu commented 2 weeks ago

[ ] I checked the documentation and related resources and couldn't find an answer to my question.

Your Question After the sentence is split, i think the . should no longer be used as a split condition. Many other languages ​​do not use . as a split condition. Just follow the result of sentence_segmenter.

Code Examples https://github.com/explodinggradients/ragas/blob/main/src/ragas/metrics/_noise_sensitivity.py#L104C13-L104C46

Additional context I will provide a pr.