haystack/releasenotes/notes/file-router-additional-mime-types-47fe57e6816b83da.yaml
jlonge4 78f378b34d
implement additional mime types (#8446)
* implement additional mime types

* correct typo

* reduce complexity

* add optional

* add missing release note

* yamllint

* yamllint

* Update file-router-additional-mime-types-47fe57e6816b83da.yaml

minor reno change for consistency

---------

Co-authored-by: Vladimir Blagojevic <dovlex@gmail.com>
2024-10-16 12:38:49 +02:00

23 lines
812 B
YAML

---
features:
- |
Added a new parameter `additional_mimetypes` to the FileTypeRouter
component.
This allows users to specify additional MIME type mappings, ensuring
correct
file classification across different runtime environments and Python
versions.
enhancements:
- |
Improved file type detection in FileTypeRouter, particularly for Microsoft
Office file formats like .docx and .pptx. This enhancement ensures more
consistent behavior across different environments, including AWS Lambda
functions and systems without pre-installed office suites.
fixes:
- |
Addressed an issue where certain file types (e.g., .docx, .pptx) were
incorrectly classified as 'unclassified' in environments with limited
MIME type definitions, such as AWS Lambda functions.