Watch demo here.
- Retrofit: Used for API calls and streaming API integration.
- OpenAI Responses API: Utilized for chat functionality.
- Jetpack Compose: Modern Android UI toolkit.
- Navigation3: Modern navigation framework for Jetpack Compose.
- Room: Made chat history persistent.
- DataStore: Made preferences data persistent.
- Koin: Dependency Injection framework for Kotlin.
- MVVM Architecture: Modern architectural pattern for scalable Android applications.
- Support for both standard and streaming responses using Retrofit and Server-Sent Events (SSE).
- Context-aware conversations powered by OpenAI Responses API.
- Offline support for chat history.
- Clean Architecture for a modular and maintainable codebase.
- Dependency injection with Koin for efficient and scalable development.
UI (Compose)
↓
ViewModel
↓
Repository
↓
OpenAI Responses API / Room Database
- Clone the repository.
- Add your OpenAI API key to
local.propertiesfile:
OPENAI_API_KEY="xxx"
- Run the app.