An open API service indexing awesome lists of open source software.

https://github.com/usamahussaindev/android_chat

integrated Open AI API and Okhttp library in Android application (Java) in Android studiio
https://github.com/usamahussaindev/android_chat

Last synced: 10 months ago
JSON representation

integrated Open AI API and Okhttp library in Android application (Java) in Android studiio

Awesome Lists containing this project

README

          

# Android_Chat Private Repo

📁 **Android_ChatGPT Repository**

Welcome to the Android_ChatGPT repository! This repository contains the source code for a chat application that utilizes the OpenAI API and integrates with OkHttp. The app enables users to have conversations with an AI model powered by OpenAI's GPT-3 language model. 🤖💬

![Screenshot 2023-07-07 155733](https://github.com/Usamahussain56/Android_Chat/assets/118635657/98205805-0197-4ff5-869e-920b6353934c)

🎉 **Features**
-Utilizes OkHttp library for seamless API integration.
- Chat with an AI model using OpenAI's powerful GPT-3 language model.
- Simple and user-friendly interface for smooth conversation flow.

📋 **Requirements**

To run this app, you will need the following:

- An OpenAI API key to access the language model.
- Android Studio or any other Android development environment to work with the project.
- A device or emulator running Android 4.4 or higher.

🚀 **Getting Started**

To get started with the Android_ChatGPT app, follow these steps:

1. Open the project in Android Studio.
2. In the `MainActivity.java` file, locate the line `Replace YOUR_API_KEY` and replace `YOUR_API_KEY` with your own OpenAI API key.
3. Build and run the app on an Android device or emulator.

🤝 **Contributing**

We welcome contributions to this project! If you would like to contribute, simply create a pull request with your changes. Any enhancements, bug fixes, or new features are greatly appreciated!

🙏 Thank you for your interest in the Android_ChatGPT repository. Feel free to explore the code and engage in conversations with the AI model. Happy coding! 🚀✨