compose-chatgpt-kotlin-android-chatbot  by lambiengcode

Android chatbot powered by OpenAI's GPT models

created 2 years ago
254 stars

Top 99.2% on SourcePulse

GitHubView on GitHub
Project Summary

This project provides a functional Android chatbot application leveraging Jetpack Compose and Kotlin, integrating with OpenAI's GPT-3 and GPT-4 APIs. It's designed for developers seeking a modern, customizable chatbot solution for Android, offering features like streaming responses and chat history.

How It Works

The application utilizes a Model-View-ViewModel (MVVM) architecture with Jetpack Compose for UI, Kotlin Coroutines for asynchronous operations, and Retrofit2 for API communication. It directly interfaces with OpenAI's API, enabling real-time, human-like text generation. The architecture promotes clean code and easy integration into existing Android projects.

Quick Start & Requirements

  • Install/Run: Build and run via Android Studio.
  • Prerequisites: Android Studio Arctic Fox or later, OpenAI API Key, Firebase setup (google-services.json).
  • Setup: Requires obtaining API keys and configuring them in Constants.kt. Estimated setup time is minimal once prerequisites are met.
  • Docs: No explicit documentation link provided beyond the README.

Highlighted Details

  • Supports streaming responses from ChatGPT API.
  • Integrates with multiple OpenAI models including GPT-3.5-turbo, GPT-4, and various text-davinci models.
  • Features include new chat, chat history, stop generation, and delete conversation.

Maintenance & Community

The project is marked as "(In Progress)". Contributions are welcome via pull requests or issues. Contact is available via email: lambiengcode@gmail.com.

Licensing & Compatibility

Licensed under the MIT License. This permissive license allows for commercial use and integration into closed-source projects without significant restrictions.

Limitations & Caveats

The project is explicitly stated as "(In Progress)", indicating potential for ongoing changes and incomplete features. Some planned features like "Settings for ChatGPT" and "Light/Dart Themes" are not yet implemented.

Health Check
Last commit

8 months ago

Responsiveness

Inactive

Pull Requests (30d)
0
Issues (30d)
0
Star History
9 stars in the last 90 days

Explore Similar Projects

Feedback? Help us improve.