GitHub - jdiaz97/pdfx: AI retrieval on PDFs, returns JSON

1 min read Original article ↗

Repository files navigation

pdfx

AI-powered CLI tool to extract information from PDFs using a custom prompt.

Demo

compressed_demo.mp4

Usage

You need this environment variable

GROQ_API_KEY=your_api_key

And then

pdfx <pdf-file> "<your prompt>"

Example:

pdfx example.pdf "Make a summary of this paper, also get me all contact information."

How to compile

cargo build --release