gauravkantgoel/pv-rag-comparison ? reverse-engineered prompt

Reverse engineered prompt

Build me a small web app that compares two ways of answering questions from a pharmacovigilance PBRER document, one using regular vector search and one using a PageIndex style reasoning flow.

I want a simple browser UI where I can type a question and see both answers side by side, along with the supporting chunks or reasoning steps each method used. The backend should run both pipelines at the same time and return the results in one response. Use the provided PBRER document as the source, and make sure the app can handle a few test questions about safety findings, reporting rates, risk minimization, and related medical details.

Please include a straightforward way to set up the document index or vector store, and make the frontend easy to open locally. If anything needs current library guidance, look up the latest docs online first. Keep it lightweight, focused on comparison, and make the output easy to read so I can quickly see where the two approaches agree or differ.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab