haystack/releasenotes/notes/reader-crash-no-docs-53085ce48baaae81.yaml
Massimiliano Pippi 482f60ec99
fix: exit early if the component receives no documents (#7732)
* exit early if the component receives no documents

* relnote
2024-05-23 09:35:10 +02:00

5 lines
146 B
YAML

---
fixes:
- |
Return an empty list of answers when `ExtractiveReader` receives an empty list of documents instead of raising an exception.