F
Firecrawl5mo ago
Botao

PDF with FIRE-1 agent

I really love your product! Is there a way to attach a PDF file when using the FIRE-1 agent? Right now, it looks like only text can be passed into the prompt.
3 Replies
SoulBloxXer
SoulBloxXer5mo ago
Rookie here… but Are you using the api? If you are, you can set up a python script where the prompt that you pass into the api can be extracted from your given pdf (use cursor ai to code this for you) Just a thought?
micah.stairs
micah.stairs5mo ago
If your PDF is hosted on a public website, you can even use Firecrawl's scrape endpoint to parse the PDF and extract the text: https://docs.firecrawl.dev/advanced-scraping-guide#scraping-pdfs. Then you could use that text in the FIRE-1 agent's prompt
Firecrawl Docs
Advanced Scraping Guide | Firecrawl
Learn how to improve your Firecrawl scraping with advanced options.
SoulBloxXer
SoulBloxXer5mo ago
Ohh yeah never thought of that!!

Did you find this page helpful?