# UnstructuredTSVLoader

> **Class** in `langchain_community`

📖 [View in docs](https://reference.langchain.com/python/langchain-community/document_loaders/tsv/UnstructuredTSVLoader)

Load `TSV` files using `Unstructured`.

Like other
Unstructured loaders, UnstructuredTSVLoader can be used in both
"single" and "elements" mode. If you use the loader in "elements"
mode, the TSV file will be a single Unstructured Table element.
If you use the loader in "elements" mode, an HTML representation
of the table will be available in the "text_as_html" key in the
document metadata.

Examples
--------
from langchain_community.document_loaders.tsv import UnstructuredTSVLoader

loader = UnstructuredTSVLoader("stanley-cups.tsv", mode="elements")
docs = loader.load()

## Signature

```python
UnstructuredTSVLoader(
    self,
    file_path: Union[str, Path],
    mode: str = 'single',
    **unstructured_kwargs: Any = {},
)
```

## Extends

- `UnstructuredFileLoader`

## Constructors

```python
__init__(
    self,
    file_path: Union[str, Path],
    mode: str = 'single',
    **unstructured_kwargs: Any = {},
)
```

| Name | Type |
|------|------|
| `file_path` | `Union[str, Path]` |
| `mode` | `str` |


---

[View source on GitHub](https://github.com/langchain-ai/langchain-community/blob/a6a6079511ac8a5c1293337f88096b8641562e77/libs/community/langchain_community/document_loaders/tsv.py#L10)