haystack/docs/_src/api/api/file_classifier.md
Branden Chan ea5aab23ec
Update pydoc-markdown-file-classifier.yml (#1856)
* Update pydoc-markdown-file-classifier.yml

* Add latest docstring and tutorial changes

* Prevent wrapping DataParallel in second DataParallel (#1855)

* Prevent wrapping DataParallel in second DataParallel

* Add latest docstring and tutorial changes

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Create v1.0 docs (#1862)

* Update pydoc-markdown-file-classifier.yml

* Add latest docstring and tutorial changes

* Rebase and apply change to v1.0

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: bogdankostic <bogdankostic@web.de>
2021-12-08 18:19:03 +01:00

22 lines
399 B
Markdown

<a name="file_type"></a>
# Module file\_type
<a name="file_type.FileTypeClassifier"></a>
## FileTypeClassifier
```python
class FileTypeClassifier(BaseComponent)
```
Route files in an Indexing Pipeline to corresponding file converters.
<a name="file_type.FileTypeClassifier.run"></a>
#### run
```python
| run(file_paths: Union[Path, List[Path]])
```
Return the output based on file extension