Voice Assistant in MIT App Inventor powered by ChatGPT | ChatGPT MIT App Inventor |

Поделиться
HTML-код
  • Опубликовано: 9 ноя 2024

Комментарии • 107

  • @ObsidianSoftEducation
    @ObsidianSoftEducation  8 месяцев назад

    Please read this comment if you are getting the error: The operation select list item cannot accept the arguments: , ["not found"], [1]
    This error usually comes if the responseContent returned by GPT servers is unexpected. There can be a few reasons for it:
    1. Holding the speak button down while speaking. Don't hold it down. Just press it once and start speaking.
    2. API key has not been entered properly. Make sure that you provide a valid API key after the word BEARER and a space. Don't remove the word BEARER.
    2. Second problem could be that you have used up all the free credits of GPT. However, this problem comes only after the app has been working fine for a while and starts giving this error once all the free credits have been used up.
    To find the actual problem, add a notifier from the user interface in the designer view. Now, in the blocks section, use the notifier to show alert with the responseContent it. Do this inside the web1.gotText event. Make sure that this is the first thing you do inside the web1.gotText event.

    • @abhinavc7931
      @abhinavc7931 4 месяца назад

      BUT THE APP IS NOT WORKING STILL NOW

    • @ObsidianSoftEducation
      @ObsidianSoftEducation  4 месяца назад

      @@abhinavc7931 This is an older tutorial. The API might not be supported anymore by Open API. Please follow the latest tutorial that uses gpt 3.5 turbo. ruclips.net/video/aMQ35-A0Hto/видео.htmlsi=wBdTicFV-J1iTltb Make sure that you have remaining open AI credits against your API key.

  • @simrakhursheed1205
    @simrakhursheed1205 Год назад +1

    Nice sharing. Keep up the good work

  • @rubinakhq643
    @rubinakhq643 Год назад +1

    Thanks for sharing informative video...very easy to understand

  • @riairfan123irfan8
    @riairfan123irfan8 Год назад +1

    Wooow great sharing as always..👌🏻

  • @tiffanyjohnson7427
    @tiffanyjohnson7427 Год назад +1

    I was thinking about the chatbot in ChatGPT and voila you got it. Happy to see this ☺️

  • @ayedanasim5713
    @ayedanasim5713 Год назад +1

    Great idea of designing a chat bot. It adds life to ChatGPT

  • @carestudio1303
    @carestudio1303 Год назад +1

    Chatgpt gonna ruling over, thanks for this amazing video 👍🏻

  • @lifeisthrillingyt7991
    @lifeisthrillingyt7991 Год назад +1

    Thank you for sharing such detailed programming with all tips & relevant references.

  • @binteidrees8277
    @binteidrees8277 Год назад +1

    Thanks for sharing all the detailed programming very easily

  • @uzmashahzad9061
    @uzmashahzad9061 Год назад +1

    Easily understandable & interesting tutorial to follow. You're an inspiration for students.

  • @sammislearning
    @sammislearning Год назад +1

    You shared all the technical details. Very easy to understand

  • @humairasiddiqui8476
    @humairasiddiqui8476 Год назад +1

    Thanks for sharing this App in detail

  • @janjua245
    @janjua245 Год назад +1

    Interesting and well explained tutorial

  • @brandslover1358
    @brandslover1358 Год назад +1

    I never know we can use ai tools in mit as well, love this lecture.

  • @nubainzafar1578
    @nubainzafar1578 Год назад +1

    That's an amazing tutorial , very easy to understand 👍

  • @novinayaz9347
    @novinayaz9347 Год назад +1

    Very interesting 👍 loved the features of it 🤩

  • @lolopopo-9002
    @lolopopo-9002 Год назад +1

    I have create this app with the help of your tutorial I love it 😌

  • @littleheaven5071
    @littleheaven5071 Год назад +1

    Its a nice and very elaborated tutorial

  • @tayyabasohail3353
    @tayyabasohail3353 Год назад +1

    This application looks so interesting i really want to now give it a try 😎

  • @tunisieprotection6659
    @tunisieprotection6659 Год назад +1

    Thank you very much for this video , very helpful and easy to understand

  • @NowridHasninvlogzz
    @NowridHasninvlogzz Год назад +1

    Amazing tutorial video 😊

  • @lolopopo-9002
    @lolopopo-9002 Год назад +1

    Dear Create video also on how to create CSGO or PUBG video game bots self learning with any kind of program

  • @IshitaIyer2014
    @IshitaIyer2014 Год назад +1

    you are awesome

  • @ValmorMello
    @ValmorMello Год назад +1

    Hello soft obsidian. The openAI1 calling block has changed and now requires model input and also has a new temperature variable. Can you please review this and let us know what to input for the template as I can't get it to work...

  • @ayedanasim5713
    @ayedanasim5713 Год назад +1

    This feature is missing from ChatGPT. I hope they add chatbot

  • @ObsidianSoftEducation
    @ObsidianSoftEducation  Год назад

    Download my aia project from 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. If your app still doesn't work even after using my project file and your personal API key and you are still getting the not found error, then you have used ChatGPT too frequently and exceeded your monthly FREE quota. You will have to purchase some credits or a monthly plan of ChatGPT. Visit openai.com/api/ for their billing plans.

  • @charlesjuniorr
    @charlesjuniorr 4 месяца назад

    How can I use this structure to connect with the Azure API?

    • @ObsidianSoftEducation
      @ObsidianSoftEducation  4 месяца назад

      Every API has a different structure. You will have to look at Azure API to see the kind of request they expect and what kind of response is returned.

  • @ValmorMello
    @ValmorMello Год назад +1

    Hello again. Although I said my app worked. Forgot to mention that continuous voice recognition didn't work for me. It only works if you activate the google dialog... could you help me?

    • @ObsidianSoftEducation
      @ObsidianSoftEducation  Год назад

      In the chatgpt chatbot, i used the continuous speech recognition extension just because i wanted to get rid of the Google speech dialog. I used the extension as it is without changing the properties. It should work without google speech dialog in the companion app. If you want to install it, you need to install apk editor studio along with its prerequisites and then, open up apk , make changes in android manifest.xml file and save new apk and use the new apk for installing. Please verify that you have done all this and it is still not working. Also, if yes, then are you getting an error?

  • @vunguyenquang728
    @vunguyenquang728 Год назад

    Can you guide me to change my voice and speaking speed. thank you

    • @ObsidianSoftEducation
      @ObsidianSoftEducation  Год назад

      You can change pitch and speed i.e. speech rate using MIT App Inventor. Have a look at my Fake Voice App tutorial here: ruclips.net/video/Ko1H_NxtOLk/видео.html However, for changing the gender or accent of your voice, you will have to go to the settings of your Android device. Go to phone settings - Accessibility->Text to Speech. Within Text to Speech, make sure that Google Speech Service is chosen. Click on settings or the cog wheel for Google Speech Service. Now, you can install voice data for the type of voice you want. Hope that helps. Best wishes :)

  • @thymovie
    @thymovie Год назад

    Can we change the model to GPT 3.5 Turbo? Please advise how to do it.

    • @ObsidianSoftEducation
      @ObsidianSoftEducation  Год назад

      They have changed the API call quite a bit so I will publish a separate tutorial on it soon.

    • @thymovie
      @thymovie Год назад

      @@ObsidianSoftEducation 👍

  • @lfflorez7
    @lfflorez7 Год назад

    I have the same problem as everyone ["not found"], [1], could you publish the .aab application?

    • @ObsidianSoftEducation
      @ObsidianSoftEducation  Год назад

      I have shared my aia project. Link is in video description. You just need to put it your API key and it will work in companion app. For installing on android devices, you need to generate apk file and then, edit it using APK editor studio for the speech recognition extension to work. I have explained that process in video.

  • @selincamur
    @selincamur Год назад

    hi,thank you for your codes.I have a problem.I download this application .apk to phone.But this application not work phone.What could be the cause of this problem?

    • @ObsidianSoftEducation
      @ObsidianSoftEducation  Год назад

      Have you edited the apk to make it work for newer versions of Android? i have explained the process in the tutorial.

  • @Astro-jd4rw
    @Astro-jd4rw 8 месяцев назад

    Bad arguments to select list item
    The operation select list item cannot accept the arguments:, ["not found"], [1] this issue is showing when we talk with speech recognizer

    • @ObsidianSoftEducation
      @ObsidianSoftEducation  8 месяцев назад

      This error usually comes if the responseContent returned by GPT servers is unexpected. There can be a few reasons for it:
      1. Holding the speak button down while speaking. Don't hold it down. Just press it once and start speaking.
      2. API key has not been entered properly. Make sure that you provide a valid API key after the word BEARER and a space. Don't remove the word BEARER.
      2. Second problem could be that you have used up all the free credits of GPT. However, this problem comes only after the app has been working fine for a while and starts giving this error once all the free credits have been used up.
      To find the actual problem, add a notifier from the user interface in the designer view. Now, in the blocks section, use the notifier to show alert with the responseContent it. Do this inside the web1.gotText event. Make sure that this is the first thing you do inside the web1.gotText event.

  • @blublu9774
    @blublu9774 Год назад +1

    The operation select list item cannot accept the arguments: , ["not found"], [1]
    Note: You will not see another error reported for 5 seconds.
    any idea how to solve it?

    • @ObsidianSoftEducation
      @ObsidianSoftEducation  Год назад

      You haven't entered your API key after the word BEARER.

    • @siddhanttambatkar1398
      @siddhanttambatkar1398 Год назад

      Had you solve this error?

    • @lfflorez7
      @lfflorez7 Год назад

      me sale el mismo error

    • @ObsidianSoftEducation
      @ObsidianSoftEducation  Год назад

      Download my aia project from 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.

  • @LuisFelipeEcheverry
    @LuisFelipeEcheverry Год назад

    help the operation select list item cannot accept the argument:,["not found"],[1]

    • @ObsidianSoftEducation
      @ObsidianSoftEducation  Год назад

      There can be multiple reasons for this error. 1. You might not have entered your bearer key. 2. If the error has recently started coming and the app was working fine before, you might have run out of free chatgpt credits. 3. Lastly, if the app never worked, it might be a coding block error so you will have to make sure that you have exactly the same code as in the tutorial or you can download the aia file from my website and plug in your bearer key.

  • @evanrizo
    @evanrizo 8 месяцев назад

    The aia file is not available for download as you write.

    • @ObsidianSoftEducation
      @ObsidianSoftEducation  8 месяцев назад +1

      All my projects with their aia files are on this webpage: obsidiansofteducation.blogspot.com/p/mit-app-inventor-projects.html just scroll down and search for the chatgpt project.

    • @evanrizo
      @evanrizo 8 месяцев назад

      The operation select list item cannot accept the arguments: , ["not found"], [1]
      Note: You will not see another error reported for 5 seconds.
      This is the message I get after requesting something and passing my own API key after the Bearer, or should i remove also and the Bearer?

    • @ObsidianSoftEducation
      @ObsidianSoftEducation  8 месяцев назад +1

      Only replace the word your api key. Please see my pinned comment about possible reasons for this error.

    • @evanrizo
      @evanrizo 8 месяцев назад +1

      Looks like I've exceeded my crafting limit.
      Because until this afternoon, in another app with a command to create images, it doesn't produce anything, not even an error message like this.
      And from what I understand, these services are only allowed for a while

    • @ObsidianSoftEducation
      @ObsidianSoftEducation  8 месяцев назад

      Yes, you will have to go for their paid plan to continue to use Open AI.

  • @lolopopo-9002
    @lolopopo-9002 Год назад

    Dear API key of chatgpt is compulsory to upgrade from free version to publish on playstore

    • @ObsidianSoftEducation
      @ObsidianSoftEducation  Год назад

      yes...I have mentioned this in my video too that for publishing, they need to upgrade and this is just for trying out and sharing with friends and family.

    • @lolopopo-9002
      @lolopopo-9002 Год назад

      Dear is API of chatgpt 1 time purchase or buy on monthly basis kindly guide us thanks 👍

    • @ObsidianSoftEducation
      @ObsidianSoftEducation  Год назад

      @@lolopopo-9002 The upgrade version is payment based on usage i.e. tokens but a plus version has also been announced with a monthly subscription for residents of the USA. You can get more details from here: openai.com/api/pricing/

  • @Factories_Insight_Malayalam
    @Factories_Insight_Malayalam Год назад +1

    can you tell me how ro make it hands free

    • @ObsidianSoftEducation
      @ObsidianSoftEducation  Год назад

      yes. you can make it hands-free by turning on continuous speech recognition. Have a look at my hands-free flashlight video ruclips.net/video/24JG5_DmHxQ/видео.html for guidance.

    • @Factories_Insight_Malayalam
      @Factories_Insight_Malayalam Год назад

      @@ObsidianSoftEducation Thanks

  • @siddhanttambatkar1398
    @siddhanttambatkar1398 Год назад

    Bad argument to select list item
    The operation select list items cannot accept the argument :,["Not found"],[1]
    (Enter the correct API key + made all the changes as mentioned in the video)
    I am getting this error, how to resolve it?

    • @ObsidianSoftEducation
      @ObsidianSoftEducation  Год назад

      Send a screenshot of your sendtoChatGPT procedure and web1.gotText event to obsidiansoftc@gmail.com.

    • @siddhanttambatkar1398
      @siddhanttambatkar1398 Год назад

      @@ObsidianSoftEducation yes I had mailed you

  • @Astro-jd4rw
    @Astro-jd4rw Год назад

    How to add an wakeup word to this app

    • @ObsidianSoftEducation
      @ObsidianSoftEducation  Год назад +1

      We cannot run an MIT App Inventor app in the background. This is why you can't have a wakeup word like OK Google. think someone made an extension for this problem but I haven't tried it myself.

    • @Astro-jd4rw
      @Astro-jd4rw Год назад

      I dont want to run the app in background, i just want a wakeup word to replace with start button

    • @ObsidianSoftEducation
      @ObsidianSoftEducation  Год назад +1

      you will need to turn on continuous recognition. we are already using an extension with this feature. just turn that feature on.

    • @Astro-jd4rw
      @Astro-jd4rw Год назад

      @@ObsidianSoftEducation how can i turn the feature on

    • @Astro-jd4rw
      @Astro-jd4rw Год назад

      I don't know how to create a block to turn on the feature can you tell me how can i turn on the feature please

  • @enriquelan8584
    @enriquelan8584 Год назад

    I did everything as in the tutorial, but after editing the app it keeps telling me the error ["not found"], [0].
    I even put my key

    • @ObsidianSoftEducation
      @ObsidianSoftEducation  Год назад

      Try using my project and put in your key there. I have shared link in video description and also in a pinned comment.

    • @enriquelan8584
      @enriquelan8584 Год назад

      @@ObsidianSoftEducation ok I'll try.
      Couldn't I by any chance show my progress somehow?

    • @ObsidianSoftEducation
      @ObsidianSoftEducation  Год назад

      @@enriquelan8584 yes you can :) remove your API key and export your project as an "aia" file. email me at obsidiansoftc@gmail.com. I will have a look at it.

    • @ermsrodrigues
      @ermsrodrigues Год назад

      @@ObsidianSoftEducation I'm having the same problem, even if I download your aia file and use my API key. My error is
      Bad arguments to select list item
      The operation select list item cannot accept the arguments: ,["not found"],[1]

    • @ObsidianSoftEducation
      @ObsidianSoftEducation  Год назад +1

      @@ermsrodrigues Sorry to hear that you are still having a problem even after downloading the aia file and importing it into your account. Kindly check that you haven't accidentally removed the word bearer. The text inside your value block for key "Authorization" should be something similar to this: Bearer sk-tlqHDqv1jfhkhdfdhkfdhfkdhdhfd

  • @ValmorMello
    @ValmorMello Год назад

    In apk editor studio the following error appears: error unpacking apk -
    java: Process failed to start: The system cannot find the file specified.

    • @ObsidianSoftEducation
      @ObsidianSoftEducation  Год назад

      Download java 8 or later from here: www.java.com/en/download/manual.jsp

    • @ValmorMello
      @ValmorMello Год назад +1

      @@ObsidianSoftEducation it worked perfectly... thank you very much!

    • @ObsidianSoftEducation
      @ObsidianSoftEducation  Год назад

      @@ValmorMello Happy to hear that it worked for you! And you are most welcome.

  • @索尼塵無酒
    @索尼塵無酒 Год назад

    I followed the steps and errors occurred as below:
    Bad arguments to select list item
    The operation select list item cannot accept the arguments:, ["not found"][1]
    p.s.:
    I've entered my API key.

    • @索尼塵無酒
      @索尼塵無酒 Год назад

      I know my mistake!
      The Authorization's value format is "Bearer sk-...........................dfsfsg.sg.ggg".
      The word "Bearer" is necessary.

    • @ObsidianSoftEducation
      @ObsidianSoftEducation  Год назад +1

      Hi,
      Besides the API key, you have to make some other changes in the sendToChatGPT procedure as also explained in the video. You have to make the value for key "temperature" a maths number block with value 0 i.e. use the blue block and not the red text block. Similarly, for max_tokens, you have to replace the red text block inside value into a maths blue number block with value 200. That should take care of this error.

    • @索尼塵無酒
      @索尼塵無酒 Год назад

      @@ObsidianSoftEducation Thanks for your instructions.
      Besides the video steps, I also add a little functions:
      display the texts of human's speak and ChatGPT responses.
      Many thanks.

    • @索尼塵無酒
      @索尼塵無酒 Год назад

      @@ObsidianSoftEducation If possible, would you instruct me to stop the "TextToSpeak"?
      I set the value of the "max_tokens" to 1000.

    • @ObsidianSoftEducation
      @ObsidianSoftEducation  Год назад +1

      @@索尼塵無酒 Add an empty call to TexttoSpeech.speak i.e. pass a text block with nothing in it. Also, don't forget to change your girl talking gif to girlStill gif otherwise she will stay animated.

  • @lolopopo-9002
    @lolopopo-9002 Год назад

    Is this robot girl talking in Hindi also

    • @ObsidianSoftEducation
      @ObsidianSoftEducation  Год назад

      She will talk in Hindi if you will ask the question in Hindi.

    • @lolopopo-9002
      @lolopopo-9002 Год назад

      That's good dear because I create same app to watch your tutorial

  • @appyviral8753
    @appyviral8753 Год назад +1

    hello how to contact you