Capt102/ai-pdf-chatbot ? reverse-engineered prompt

Reverse engineered prompt

Build me a simple web app where I can upload a PDF and then chat with it like a chatbot.

I want the app to split the PDF into chunks, create embeddings, store them in a vector index, and use the most relevant parts to answer my questions with Google Gemini so the answers stay grounded in the document. Please make the frontend clean and easy to use, with a file upload area, a chat box, and a clear place to see the conversation. The backend should handle the PDF processing and question answering with Python, and the whole thing should feel smooth and straightforward to run locally.

Use React for the frontend, FastAPI for the backend, and make the styling look polished and modern. If you need to check current docs for any setup details, feel free to look them up online. I mainly want a working end to end prototype that I can open in the browser, upload a PDF, and start asking questions right away.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab