darshil0/gemini-pdf-retrieval-agent ? reverse-engineered prompt

Reverse engineered prompt

Build me a web app where I can upload one or more PDF files, ask a normal question in plain English, and get back the most relevant pages and passages from those documents.

I want the results to show the document name or index, page number, a short context snippet, the matched term, a simple explanation, and a relevance score so I can quickly see what matters most. Let me filter out weak matches, sort by relevance or page number, and click a result to open that page right inside the app. It would be great if I could export the matches to CSV and see my recent searches so I can reuse them later.

Please make it feel clean and easy to use, with a modern file upload area, a search box, and a results list that’s easy to scan. Use the Gemini API for the document search part, and look up current docs online if you need to.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab