haystack/docs/v1.1.0/_src/api/api/file_classifier.md
Julian Risch c6f23dce88
upgrade haystack version number to 1.1.0 (#2039)
* upgrade haystack version number to 1.1.0

* copy docs to new version folder
2022-01-20 13:45:38 +01:00

399 B

Module file_type

FileTypeClassifier

class FileTypeClassifier(BaseComponent)

Route files in an Indexing Pipeline to corresponding file converters.

run

 | run(file_paths: Union[Path, List[Path]])

Return the output based on file extension