Hello friends,
In this video, I am teaching you how to make a chatbot in MIT App Inventor that is powered by ChatGPT. So, instead of multiple if/else blocks, we will convert our speech to text and send this text to the ChatGPT servers (openAI) and we will get a response from them. We will convert this response to speech and our chatbot will be creatively vocal using the awesome power of Artificial Intelligence of totally “in” ChatGPT.
Download my aia project:
https://obsidiansofteducation.blogspot.com/p/mit-app-inventor-projects.html.
Remember to replace the words YOUR_API_KEY in the code with the API key from your openai account.
IMPORTANT LINKS:
OpenAI Website:
https://openai.com/api/
To convert cURL to blocks:
https://getaix.com/curl-to-blocks
Continuous Speech Recognition without Google Dialogue Extension:
https://community.kodular.io/t/free-voice-recognition-extension-without-google-dialogue/82347
Animated girl GIF:
https://giphy.com/stickers/dement-veradement-vera-ZbZjPNroGypDkPBOpz
To split GIF to get the first frame for the still image:
https://ezgif.com/split
APK Editor Studio for editing apk:
https://qwertycube.com/apk-editor-studio/download/
Important:
APK Editor Studio further needs the following:
Java 8 (or later): https://www.java.com/en/download/manual.jsp
Visual C++ Redistributable (Needed only for Windows Operating System)
Text for inserting in Android Manifest.xml file:
https://drive.google.com/file/d/1jJV801TT_slkCNpdhce4jn-MauPFd1hZ/view
Thanks to Filmora for intro music
Chapters:
00:00 Introduction
00:52 Demo of ChatBot powered by ChatGPT
01:37 Creating an OpenAI account
02:40 Generating OpenAI API Key
04:08 Converting cURL to Blocks
04:42 Adding ChatGPT Request to Blocks
06:34 Speech Recogniser without Google Speech Dialog
07:29 Animated GIFs for ChatBot
07:43 Splitting GIFs into frames
08:27 UI Design of Chatbot
09:48 Blocks of Chatbot
10:10 Showing Animated GIFs in MIT App Inventor
10:43 Permissions in MIT App Inventor
12:29 Decoding JSON in MIT App Inventor
17:51 Building APK in MIT App Inventor
17:56 Editing APK
Other MIT App Inventor Tutorials:
️ Movie Quiz App:
https://youtu.be/QRNrtZG_5zY
Voice-operated flashlight (Hands Free)
https://youtu.be/24JG5_DmHxQ
Calculator App:
https://youtu.be/DM_KJbit0mM
⌛ Countdown Timer App:
https://youtu.be/v454FvH7gNw
Space Invader Game:
https://youtu.be/mPPQVnLJS7U
Multiple Choice Quiz App:
https://youtu.be/5e4WwpheM8c
Basic Paint App:
https://youtu.be/prmTeD0cacw
Strobe Light App:
https://youtu.be/34VrKj0pYag
⏰ Alarm Clock App:
https://youtu.be/txrjTCUbFmI
Smash the Ghost Game:
https://youtu.be/w9pY619xAVU
Voice Changing App:
https://youtu.be/Ko1H_NxtOLk
Piano App with Record Music feature:
https://youtu.be/pCgBwwSiJaI
Shopping List App:
https://youtu.be/kBt2fzEba1c
Chat App (Messenger App) With Topic-Specific Rooms:
https://youtu.be/ywuKZuA2csc
Virtual Snow Globe:
https://youtu.be/jqVF0ZnbV7A
Free REDIS Cloud Account for custom CloudDB and using same CloudDB for multiple apps:
https://youtu.be/OoTNCQ_32C0
Create Quiz App linked to custom CloudDB:
https://youtu.be/J4ksXNTlq3g
Take Quiz App linked to custom CloudDB:
https://youtu.be/iOEe8iaMrX8
Special Thanks to Filmora for Intro Music
Please like my Facebook page and Instagram page for more FREE educational resources.
Facebook: https://www.facebook.com/ObsidianSoft/
Instagram: https://www.instagram.com/obsidiansoftapps/
For questions: contact me at [email protected]
#chatgpt #chatbot #mitappinventor #mitappinventorchatbot
chatbotmitappinventor #chatgptmitappinventor #mitappinventortutorial #appinventortutorial #appinventor #openai #ai #aimitappinventor #mitappinventorai #artificialintelligence #artificialassistantmitappinventor #voiceassistant #mitappinventorvoiceassistant #voiceassistantmitappinventor
Source