# DocumentIntelligenceLoader

> **Class** in `langchain_community`

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

Load a PDF with Azure Document Intelligence

## Signature

```python
DocumentIntelligenceLoader(
    self,
    file_path: Union[str, PurePath],
    client: Any,
    model: str = 'prebuilt-document',
    headers: Optional[dict] = None,
)
```

## Extends

- `BasePDFLoader`

## Constructors

```python
__init__(
    self,
    file_path: Union[str, PurePath],
    client: Any,
    model: str = 'prebuilt-document',
    headers: Optional[dict] = None,
) -> None
```

| Name | Type |
|------|------|
| `file_path` | `Union[str, PurePath]` |
| `client` | `Any` |
| `model` | `str` |
| `headers` | `Optional[dict]` |


## Properties

- `parser`

## Methods

- [`load()`](https://reference.langchain.com/python/langchain-community/document_loaders/pdf/DocumentIntelligenceLoader/load)
- [`lazy_load()`](https://reference.langchain.com/python/langchain-community/document_loaders/pdf/DocumentIntelligenceLoader/lazy_load)

---

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