What can you do with it?
The/pdf-analysis
command enables you to use the LLM to extract text from PDF documents for further processing. You can extract all text from a PDF, pull specific sections, answer questions about the content, create summaries, and convert PDF content into editable text formats for analysis or documentation. If you just want to get the text out of the PDF without any LLM analysis, use one of the conversion/extraction tools (much faster!)
How to use it?
Basic Command Structure
Parameters
Required:pdf-file
- The PDF document to process (URL or uploaded file)
action
- What to do with the PDF: extract-all, extract-snippet, answer-question, or summarize (defaults to extract-all)query
- Specific text to find or question to answer (when using extract-snippet or answer-question)format
- Output format: json or plaintext (defaults to json)