haystack/releasenotes/notes/meta-in-filetyperouter-d3cf007f940ce324.yaml
Stefano Fiorucci 78292422f0
feat: allow passing meta in the run method of FileTypeRouter (#8486)
* initial refactoring

* progress

* refinements

* serde methods + tests

* release note

* comment

* make additional_mimetypes internal attribute
2024-10-24 16:21:15 +02:00

7 lines
309 B
YAML

---
enhancements:
- |
The `FiletypeRouter` now supports passing metadata (`meta`) in the `run` method.
When metadata is provided, the sources are internally converted to `ByteStream` objects and the metadata is added.
This new parameter simplifies working with preprocessing/indexing pipelines.