Android chatbot app using OpenAI's chat API with Stream Chat SDK
Top 13.0% on sourcepulse
This repository demonstrates an Android chatbot application leveraging OpenAI's ChatGPT API and the Stream Chat SDK for Compose. It targets Android developers seeking to integrate advanced conversational AI and real-time messaging features into their applications, showcasing modern Android architecture patterns and Jetpack Compose UI development.
How It Works
The application integrates OpenAI's chat API for natural language processing and Stream Chat SDK for Compose to provide a robust messaging infrastructure. It follows Google's official app architecture guidance, separating concerns into UI and data layers with unidirectional data flow. Key components include Jetpack Compose for UI, Hilt for dependency injection, Kotlin Coroutines and WorkManager for asynchronous operations, and Room for local data persistence.
Quick Start & Requirements
secrets.properties
file in the project root with STREAM_API_KEY=...
and GPT_API_KEY=...
.Highlighted Details
Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
The project is primarily a demonstration, with many features not yet completed beyond the core chat functionality. Users must manage API keys and potential costs associated with OpenAI usage. Troubleshooting guidance is provided for common API errors (401, 429).
4 days ago
Inactive