Chukwuebuka-2003/rag_agentarticle ? reverse-engineered prompt
Reverse engineered prompt
Build me a simple web app that lets a user upload a PDF, enter a search question or topic, and then turns that document into a polished article.
I want the app to read the PDF, pull out the most relevant parts based on the user’s query, write a clear article from that material, suggest a good title, and then clean it up so it reads like something ready to publish. Make the interface easy to use, with the upload area, query box, and generated result all in one place.
It should also remember past conversations or runs so the user can come back to them later. Use a modern AI workflow behind the scenes, and if you need current docs for the AI tools or PDF handling, look them up online. Please keep the code organized, add sensible defaults for environment variables, and make sure it runs cleanly as a Streamlit app.
Are you gonna build this?
make sure you review the code using coderabbit