This is a sample demonstrating how to build a simple ChatGPT client using Flutter, Firebase and the ChatGPT API.
This project contains 2 directories:
chatgpt_flutter
- The Flutter clientchatgpt_firebase
- The Firebase functions
- Install the Flutter SDK
- Follow the instructions here to install Firebase CLI
- Install the FlutterFire CLI:
flutter pub global activate flutterfire_cli
- You will need a Firebase project. If you don't have one, create one here.
- You will need a ChatGPT API key. If you don't have one, create one here.
- Put your ChatGPT API key & organization ID in
functions/.env
.