Logo
Explore Help
Register Sign In
yujunjun/haystack
1
0
Fork 0
You've already forked haystack
mirror of https://github.com/deepset-ai/haystack.git synced 2025-12-06 03:47:22 +00:00
Code Issues Packages Projects Releases Wiki Activity
haystack/releasenotes/notes/change-context-relevance-evaluator-da770bf05c83cfbd.yaml

7 lines
247 B
YAML
Raw Normal View History

fix: improve context relevancy metric (#7964) * fixing tests * fixing tests * updating tests * updating tests * updating docstring * adding release notes * making the insufficient information more robust * updating docstring and release notes * empty list instead of informative string * Update haystack/components/evaluators/context_relevance.py Co-authored-by: Madeesh Kannan <shadeMe@users.noreply.github.com> * Update haystack/components/evaluators/context_relevance.py Co-authored-by: Madeesh Kannan <shadeMe@users.noreply.github.com> * fixing tests * Update haystack/components/evaluators/context_relevance.py Co-authored-by: Stefano Fiorucci <stefanofiorucci@gmail.com> * reverting commit * reverting again commit * fixing docstrings * removing deprecation warning * removing warning import --------- Co-authored-by: Madeesh Kannan <shadeMe@users.noreply.github.com> Co-authored-by: Stefano Fiorucci <stefanofiorucci@gmail.com>
2024-07-22 15:13:46 +02:00
---
upgrade:
- |
The `ContextRelevanceEvaluator` now returns a list of relevant sentences for each context, instead of all the sentences in a context.
Also, a score of 1 is now returned if a relevant sentence is found, and 0 otherwise.
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.5 Page: 655ms Template: 52ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API