shivam-83/rag-agentic-ai ? reverse-engineered prompt

Reverse engineered prompt

Build me a small RAG chatbot for the Agentic AI eBook that only answers from that PDF and says, I cannot answer based on the provided document, when the question is outside the book. I want a backend API and a simple chat web app, with a health check, a chat endpoint, multi turn conversation, confidence score, and the retrieved page snippets shown as sources in the UI. It should be able to load the ebook from the data folder, split it into chunks, create embeddings, and store them in Pinecone, then use those retrieved chunks to answer with Google Gemini. Please keep the answers tightly grounded and avoid making anything up. If you need to check current library docs or setup details, look them up online and make it work cleanly with the existing project files. Include clear error handling and make sure the app runs locally without extra fuss.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab