daoninhthai/ai-chatbot-spring — reverse-engineered prompt
Reverse engineered prompt
Build me a simple but polished AI chatbot app that feels close to ChatGPT, with a Java Spring backend and a React frontend. I want users to be able to sign up, log in, stay signed in with tokens, and have their own private conversations and uploaded files.
The chat should stream the reply live as it is being generated, not wait for the full answer. It should remember the conversation context automatically so follow up questions make sense. I also want a knowledge base feature where a user can upload PDF, DOCX, or text files, and then ask questions that use those documents as context.
Please include conversation history, document management, sensible rate limiting on chat requests, and a clean dark mode UI. Use Postgres for storing app data and vector search for the document embeddings. Make it easy to run locally with Docker, and expose clear API docs for testing. If anything is unclear, check the current docs online and fill in the missing pieces in a practical way.
Want more depth? Deep Reverse