balabommablock-cpu/regai ? reverse-engineered prompt
Reverse engineered prompt
Build me a simple app for asking questions about Indian financial regulations in plain English.
I want it to search across SEBI circulars, RBI master directions, and AMFI guidelines, then answer with the exact source references and short quotes so I can trust where the answer came from. It should handle the messy parts of these documents, like amendments, cross references, and tables, so the context does not get lost when a rule spans multiple pages.
Please use a setup that can parse PDF documents, store embeddings in a vector database, and do both semantic and keyword search before generating an answer. Use Claude for the final response if that fits, and make sure the answers are grounded in the documents, not made up. A basic API is enough, and if it makes sense, add a small demo page or script where I can ask a question and see the cited result. Look up current docs online if you need to.
Are you gonna build this?
make sure you review the code using coderabbit