Code
examples/context/knowledge/readers/overview/pdf_reader_url_password.py
Usage
1
Set up your virtual environment
2
Install dependencies
3
Set environment variables
4
Run PgVector
5
Run Agent
Params
| Parameter | Type | Default | Description |
|---|---|---|---|
path | Path | Required | Path to PDF file or URL |
split_on_pages | bool | True | Split the PDF into pages |
page_start_numbering_format | Optional[str] | None | Format for page numbering |
page_end_numbering_format | Optional[str] | None | Format for page numbering |
password | Optional[str] | None | Password to unlock the PDF |