An open-source flutter AI pet companion for happy children
- Multilingal: Currently our AI App can support 4 languages including English, Chinese, Japanese and French
- Customizable: You can select character to talk to.
- Most up-to-date AI: We use the most up-to-date AI technology to power your AI character, including OpenAI, Whisper, ElevenLabs, etc.
Try our site at edupal.io
Here we will provide you a thorough end to end steps to help you run this project.
To develop Flutter apps for iOS, you need a Mac with Xcode installed.
we are currently only support iOS app development. But Android app is under beta testing.
👇click me
This application utilizes the OpenAI API to access its powerful language model capabilities. In order to use the OpenAI API, you will need to obtain an API token.To get your OpenAI API token, follow these steps:
- Go to the OpenAI website and sign up for an account if you haven't already.
- Once you're logged in, navigate to the API keys page.
- Generate a new API key by clicking on the "Create API Key" button.
- Copy the API key and store it safely.
👇click me
- Creating an ElevenLabs Account
Visit ElevenLabs to create an account. You'll need this to access the text to speech and voice cloning features.
- In your Profile Setting, you can get an API Key. Save it in a safe place.
We are using Flutter 3.7.11. Make sure that you downloaded this version. Follow the Instruction Guide.
Follow the iOS Set Up Guide Here
Follow the download instruction Here
- Log in to your firebase using
$ firebase login
-
Step 1: Go to Firebase, get started and create a project. Name your project name of your choice, for example, we used edupal
-
Step 2: In your clone repository, navigate the terminal to the project repo, run
$ firebase init
- Step 3: Choose the "Functions" feature
- Step 4: Choose Use an existing project
- Step 5: Select the project you created in Step 1, and choose python to be your language
If you want to reuse the existing firebase functions you should follow the steps below
- Step 6: Copy all the files in firebase_functions/functions to functions/ and then install dependencies
- Step 7: Uncomment lines that you need in main.py and speech_utils.py
In your project repo, run
$ dart pub global activate flutterfire_cli
# and
$ flutterfire configure --project=<YOUR_PROJECT_ID> # Can be found in .firebaserc in your local repo
In the config.json file, change the API Key to what you get in previous Getting API Keys steps
- Go to your newly created firebase project in the Console
- On the leftside, under Build Selection, select Authentication
- Click Get Start, Enable: Email/Password, Google, Apple
Search in your codebase with "INPUT_YOUR_OWN", and change the ids and keys accordingly
Run
$ firebase deploy
Go to the firesstore database and set up indexes
Run
$ firebase emulators:start # This will help you to start a local version of your project
$ flutter run