-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Rename
FileExtensionRouter
to FileTypeRouter
, handle ByteSt…
…ream(s) (#5998) Co-authored-by: Daria Fokina <[email protected]>
- Loading branch information
Showing
4 changed files
with
110 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
from haystack.preview.components.routers.file_type_router import FileTypeRouter | ||
from haystack.preview.components.routers.metadata_router import MetadataRouter | ||
|
||
__all__ = ["FileTypeRouter", "MetadataRouter"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
releasenotes/notes/rename-file-extension-router-9125028ec2c55e98.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
preview: | ||
- | | ||
Enhanced file routing capabilities with the introduction of `ByteStream` handling, and | ||
improved clarity by renaming the router to `FileTypeRouter`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters