haystack icon indicating copy to clipboard operation
haystack copied to clipboard

Add meta field to `FileTypeRouter`

Open bilgeyucel opened this issue 4 months ago • 1 comments

Is your feature request related to a problem? Please describe. When a preprocessing pipeline starts with FileTypeRouter, which is usually the case when we use multiple converters, it's not possible to provide meta information for files

Describe the solution you'd like Let's add meta input to the FileTypeRouter and this component can use ByteStream dataclass to pass this info to converters.

Describe alternatives you've considered Having separate metadata outputs for each file type: router.text/plain_meta

Additional context The same issue opened a year ago #6392

cc: @silvanocerza

bilgeyucel avatar Oct 18 '24 09:10 bilgeyucel