Skip to content

Latest commit

 

History

History
45 lines (31 loc) · 1.63 KB

File metadata and controls

45 lines (31 loc) · 1.63 KB

🤖 BasicChatBot

A simple Kotlin-based Android chatbot app powered by Google's Gemini API, with built-in chat memory for contextual conversations.


✨ Features

  • 💬 Real-time chat interface
  • 🧠 Context-aware memory — remembers previous messages to carry context
  • 🔗 Gemini API integration for smart, conversational responses
  • 📋 Selectable & copyable messages — tap and hold to copy any chat text
  • 📱 Clean and minimal UI built with Android best practices
  • ⚙️ Kotlin + Jetpack components
  • 🌐 Internet connectivity check + API error handling

🛠️ Tech Stack

  • Language: Kotlin
  • API: Google Gemini (via REST calls)
  • Architecture: MVVM (Model-View-ViewModel)
  • Build Tool: Gradle (KTS)
  • IDE: Android Studio

📚 What I Learned Working on BasicChatBot taught me a lot about:

  • 🧩 Integrating third-party APIs — setting up and calling Google’s Gemini API efficiently.
  • 🧠 Handling chat memory — preserving context for natural conversation flow.
  • 🎯 State management in Android — especially using ViewModel and LiveData to update the UI reactively.
  • 💡 Designing user-friendly UIs — like enabling message selection and making conversations feel intuitive.
  • 🔒 Best practices for handling API keys — like storing them securely using local.properties.
  • 🛠️ GitHub repo management — including commits, pushing code, and creating a clean public repo.
  • 🐞 Improving debugging skills — especially with network calls and response parsing.

🚀 Future Enhancements

  • 🎙️ Voice input support
  • 🌐 Multi-language chat