ChatGPTAndroid

Android app using OpenAI’s ChatGPT It is possible to obtain the desired information through conversation or in-depth questions.

Conversation content is managed through a Room Database. You can delete the conversation by long-clicking the chatBox. (Based on LongClickEvent)

Setting

  • Android Dolphin l 2021.3.1
  • Kotlin

stack

  • Timber
  • Room
  • Splash Screens
  • Coil
  • Coroutine
  • Retrofit

Main src

├── .idea
├── app 
│   └── src
│        └── main.java.com.nohjunh.test
│                                    ├── adapter
│                                    ├── database
│                                    ├── model
│                                    ├── network
│                                    ├── repository
│                                    ├── view
│                                    ├── viewModel
│                                    └── App.kt
└── gradle/wrapper

API

OpenAI API Documentation

[https://platform.openai.com/docs/api-reference]

Add the key to network/Apis.kt on the project. Put it in the value of authorization.

Views

gif1 gif2 gif3

GitHub

View Github