Skip to main content
Pass PDFReader to Knowledge.insert() to configure PDF parsing and chunking.
pdf_reader.py

Run the Agent

1

Set up your virtual environment

2

Install dependencies

3

Export the API key

4

Run PgVector

5

Run the agent

Reader Parameters

PDFReader also accepts the base Reader constructor parameters. Use PDFReader.async_read() or Knowledge.ainsert() in an asynchronous ingestion path.

Next Steps