GirishRajendraShetiya/LangChain — reverse-engineered prompt
Reverse engineered prompt
Build me a simple Python chatbot app that runs in Streamlit and uses Google Gemini for the answers. I want it to feel like a normal chat page, with a title, a short description, a message box, the conversation history on screen, and a clear chat button or enter to send.
Please keep it easy to run locally. Put the needed Python packages in requirements.txt and make the main app work from streamlit_demo.py. The Gemini API key should come from Streamlit secrets or an environment variable, not be written directly in the code. If the key is missing or the API fails, show a friendly message instead of crashing.
Add a reset conversation option, basic loading feedback while the bot is thinking, and keep the code simple enough for a beginner to understand. Use current Gemini docs if you need to check the latest way to call the model.
Want more depth? Deep Reverse