A simple character-based chatbot assistant built with Flutter and OpenAI.
Before you begin, you'll need to have API keys for both OpenAI and ChatGPT. Here's how to get them:
-
OpenAI: Follow the instructions on the OpenAI website to sign up for an account and obtain an API key: https://beta.openai.com/docs/quickstart
-
ChatGPT: Follow the instructions on the ChatGPT website to sign up for an account and obtain an API key: https://www.chatgpt.com/docs/getting-started
-
Clone the repository or download the ZIP file and extract it to your preferred directory.
-
Open the project in your preferred IDE or text editor.
-
In the
assets/.env
file, replace theYOUR_OPENAI_API_KEY
variable with your actual OpenAI API key. -
Save the files.
-
Open a terminal window and navigate to the project directory.
-
Run the following command to install the necessary dependencies:
In the root directory, run:
flutter run
- Flutter
- OpenAI API
- ChatGPT API
- Joshua de Guzman @joshuamdeguzman.