gabrielpreda/kotlin-gemma-4e2b-chatbot ? reverse-engineered prompt
Reverse engineered prompt
Build me a simple Android chatbot app in Kotlin that runs completely offline on the device. I want a clean chat screen where I can type a message, send it, and see the assistant reply in a conversation style layout. The responses should support Markdown so things like bold text, lists, and code look nice in the chat.
Use on device Gemma 4 E2B inference with no backend and no API calls at all. It should be set up to load the model from a local file on the phone or emulator, since the model won’t be in the repo. Please make it easy to point the app at the model path and keep the app working even if it’s just running on CPU for compatibility.
Keep the UI modern and minimal with Jetpack Compose, and make the app feel like a real local AI assistant that works fully offline. If you need current setup details for the model or Android support libraries, look them up online and wire it up properly.
Are you gonna build this?
make sure you review the code using coderabbit