Haystack docs home page

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