haystack/docs/v1.0.0/_src/api/api/file_converter.md
2021-12-08 17:53:00 +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