| Parameter | Type | Default | Description | 
|---|---|---|---|
| pdf | Union[str, Path, IO[Any]] | Required | Path to PDF file, URL string, or file-like object containing a PDF document. Extracts both text and performs OCR on images | 
| Parameter | Type | Default | Description | 
|---|---|---|---|
| pdf | Union[str, Path, IO[Any]] | Required | Path to PDF file, URL string, or file-like object containing a PDF document. Extracts both text and performs OCR on images |