Skip to content

I have created ChatGPT app in Flutter using the OpenAI's API key.

Notifications You must be signed in to change notification settings

AmanGit010/ChatGPT-app-Flutter

Repository files navigation

ChatGPT App

ChatGPT App is a mobile application created using Flutter that leverages OpenAI's API to provide an interactive chatbot experience. The app allows users to engage in natural language conversations with the chatbot, which is powered by OpenAI's GPT-3.5 model.

Features

  • Natural language conversation with OpenAI's GPT-3.5 model
  • Smooth and intuitive user interface
  • Minimalistic design

Requirements

  • Flutter 3.0 or later
  • OpenAI API key
  • Android emulator/Physical device

How to get your own OpenAI API Key

You will need to follow these steps to generate your own OpenAI API Key: -

  1. Visit https://openai.com/blog/openai-api.
  2. Log in or Sign up in to your account.
  3. Select the 3rd option or API option here. image
  4. Click on your account and navigate to View API Keys.
  5. Click on Create new Secret Key.
  6. And Boom, your OpenAI API Key is generated successfully.

How to Setup project locally

To setup the ChatGPT App, you will need to follow these steps:

  1. Clone this repository to your local machine using git clone https://github.com/AmanGit010/ChatGPT-app-Flutter.git.
  2. Navigate to the cloned repository using cd ChatGPT-app-Flutter.
  3. Install the necessary packages by running flutter pub get.
  4. Add your OpenAI API key to the lib/constants/api_consts.dart file.
  5. Run the app on an emulator or a physical device using flutter run.

Screenshots

  1. Landing Screen

Screenshot_20230618-194040

  1. LogIn Screen

Screenshot_20230618-194045

  1. SignUp Screen

Screenshot_20230618-194047

  1. Google Authentication

Screenshot_20230618-194054_Google Play services

  1. Chat Screen

Screenshot_20230618-194153

  1. Model selection menu

Screenshot_20230618-194207

Contributing

Contributions to the project are welcome! If you have any bug fixes, feature requests, or other contributions, please feel free to open a pull request or issue.

About

I have created ChatGPT app in Flutter using the OpenAI's API key.

Topics

Resources

Stars

Watchers

Forks

Languages