A Chatbot developed by consuming ASR, Translation and TTS APIs from Bhashini and Chat engine APIs from OpenAI.
Follow the below steps to successfully run this Flutter application:
-
Create a new Flutter project using command flutter create --org com.xxxx <<folder_name>> --project-name <<project_name>>
-
Download the assets and lib folder and paste them in the project root
-
Download the android/build.gradle file and replace the original one in the same path with this one or pick the items not present in the original file and add them.
-
Download the android/app/build.gradle file and replace the original one in the same path with this one or pick the items not present in the original file and add them.
-
Download the android/app/src/main/AndroidManifest.xml file and replace the original one in the same path with this one or pick the items not present in the original file and add them.
-
Download the pubspec.yaml file and replace the original one with this one
-
Create a .env file with the content BEARER_TOKEN=sk-<<your_openAI_toke_here>>
-
Enter the terminal and execute following commands:
- flutter clean
- flutter pub get
- flutter pub run flutter_launcher_icons:main
-
Run the project on emulator/device/web etc.