RubinRazaa/test-chatbot — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a simple Python chatbot I can run from my computer for testing. I want to type messages in the terminal, have it send them to Groq, and show the chatbot reply back in a clean readable way. Keep it small and easy to understand, since this is just a test chatbot, not a full product.

Please set it up so the API key is not hardcoded, use an environment variable or a simple local setup step instead. Add a requirements file with only what is needed, and make the main script easy to run with one command. If something goes wrong, like the key is missing or the API call fails, show a friendly error instead of crashing.

Keep the code simple and commented enough that I can edit the bot prompt or model later. Look up current Groq docs online if you need to.

Want more depth? Deep Reverse