Jordan-Gilliam/ai-template ? reverse-engineered prompt
Reverse engineered prompt
Build me a web app like Mercury where someone can upload a document or point it at a website, then ask questions in chat and get answers based only on that content. I want it to feel like a clean Perplexity style assistant, with source citations, chat history, and a dark mode interface.
It should support common file types like pdf, docx, md, txt, png, jpg, html, and json, and it should also be able to scrape a webpage, turn the content into searchable chunks, and let the user chat with it right away. When I ask something, it should find the most relevant parts and stream back a helpful answer instead of waiting forever. If you need current setup details, look up the latest docs online.
Make the UI polished and simple, with a modern layout, easy upload and URL input, and clear feedback while training or querying the knowledge base.
Are you gonna build this?
make sure you review the code using coderabbit