ChatGPT + Raspberry Pi - A ChatGPT powered Raspberry Pi chatbot

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 ก.ย. 2024

ความคิดเห็น • 409

  • @geoffreygeo6385
    @geoffreygeo6385 2 หลายเดือนก่อน +14

    I tried to install all the libraries. Only with PyAudio did this go wrong. Eventually, I got it to work. By the following commands:
    sudo apt install libasound-dev portaudio19-dev
    libportaudio2 libportaudiocpp0
    After that sudo apt install ffmpeg and than run
    python3 -m pip install pyaudio
    Everything works great

    • @thomasthemaker
      @thomasthemaker  2 หลายเดือนก่อน

      Great! Thanks for sharing. I will 📌 this to help others

    • @theredditemperor8806
      @theredditemperor8806 2 หลายเดือนก่อน

      helped me a lot, thanks!

    • @CarlosHernandez-yt5so
      @CarlosHernandez-yt5so หลายเดือนก่อน +1

      God Bless You. Thank you for taking time out of your day to comment this, you have been so helpful

  • @Skibidi292oo
    @Skibidi292oo 15 วันที่ผ่านมา +2

    Thanks this worked well i can now use chatgpt as a voice command to turn on the laser

  • @alexpapou4806
    @alexpapou4806 2 หลายเดือนก่อน +1

    Just came across, a totally amazing project. Perhaps the ultimate stage of this would be a bot that activates only on a certain voice command so what you chat in a room does not get sent to gpt unless you ask for this, and a real non-robotic voice of your choice. I am impressed, thank you!

  • @JohnDoe-og9kz
    @JohnDoe-og9kz ปีที่แล้ว +8

    Amazing work dude. Also congrats on accomplishing 100 subs. Have a great day!
    - your 100th subscriber

    • @thomasthemaker
      @thomasthemaker  ปีที่แล้ว +2

      Hey John, I appreciate that! Have yrself a good weekend!

  • @lzcell9727
    @lzcell9727 6 หลายเดือนก่อน +2

    The first time I saw this video, I was intrigued, but now ChatGPT has its own speech conversation function.

    • @thomasthemaker
      @thomasthemaker  6 หลายเดือนก่อน

      It surely does

    • @mq-r3apz291
      @mq-r3apz291 6 หลายเดือนก่อน

      How to get chatgbt to control actual motors PLEAAAASEE😢​@@thomasthemaker

  • @WINTERMUTE_AI
    @WINTERMUTE_AI ปีที่แล้ว +7

    GENIUS! This is exactly what I was looking for, thanks!

    • @unkillablespirits8582
      @unkillablespirits8582 4 หลายเดือนก่อน

      you should just use llama2 or 3 , or any of the Local Language models , stop supporting the system they are watching us , its literally 1 command in linux to install llama2 or 3

  • @charlesmarchand9098
    @charlesmarchand9098 ปีที่แล้ว +4

    ill start my project with yours as guidance to make my own, awesome and simple. Thank you!

  • @jtr1227
    @jtr1227 2 หลายเดือนก่อน +2

    Great ChatGPT chatbot! Awesome! Hi Thomas I have a Raspberry PI 5, a ollama with tinyollama setup on my system with an ollama webui as frontend. It works and the responses are good enough as far as speed is concerned. I already installed piper and the voice sounds natural and perhaps add whisper next for an all out local project. Do you know a way on how I can this all integrated together. I'll be looking forward to your next video.🌟🌟👍

  • @betrayedsoul47
    @betrayedsoul47 7 หลายเดือนก่อน +3

    Thx this is so cool your 1000th subscriber

    • @thomasthemaker
      @thomasthemaker  7 หลายเดือนก่อน

      Much appreciated 👍!

  • @mercy1441
    @mercy1441 ปีที่แล้ว

    I have been thinking of this for a few days now ! Thanks Thomas !!

    • @thomasthemaker
      @thomasthemaker  ปีที่แล้ว

      Glad to help! If you think of any more ideas let me know

  • @davyponte
    @davyponte 10 หลายเดือนก่อน +1

    That’s amazing! Bravo👏🏻 congrats… but is possible change the chatbot voice? For example my voice?

  • @jacquesdupontd
    @jacquesdupontd 3 หลายเดือนก่อน

    Perfect, now it needs to be also a media player for spotify and other stream and be able to control home assistant devices :) Thanks

  • @user-pi1lq3pj
    @user-pi1lq3pj ปีที่แล้ว

    thank you it very interesting to see somone of your age do a project like this

  • @markboweringphotography4408
    @markboweringphotography4408 ปีที่แล้ว

    Superb project. Just what i was looking for.

  • @Kataroobungaloo
    @Kataroobungaloo 6 หลายเดือนก่อน

    Wow incredible work here!! Very inspiring!!!

  • @elvenkim
    @elvenkim 9 หลายเดือนก่อน

    most interesting project! didn't know raspberry pi can run chatgpt

  • @TheCryptoCollective69
    @TheCryptoCollective69 10 หลายเดือนก่อน +3

    When I copy and paste the libraries/dependencies code I get a externally-managed-environment error then I go into a virtual environment then do it again it works but then I get more errors stating that it can't find dotenv idk what I'm doing wrong but I followed this video to a T and nothing's working

    • @aishaashraf4375
      @aishaashraf4375 6 หลายเดือนก่อน

      Have you found a solution

    • @carlhartman2818
      @carlhartman2818 4 วันที่ผ่านมา

      I agree. Nothing but problems when installing the libraries. I wonder if anyone has successfully got this to work? Wasted hours of time trying to get this setup with my grandson.

  • @jrrisra
    @jrrisra ปีที่แล้ว +4

    Awesome project! Just what I've been looking for. Thanks for this!
    [suggestion] Would've been better if the voice was less robotic. I think there are TTS models that does that.

    • @thomasthemaker
      @thomasthemaker  8 หลายเดือนก่อน +2

      That's correct, but I do see that TTS can have a significant latency. But still a great option! (GPT API already has quite some latency anyway)

    • @davidgibson6449
      @davidgibson6449 3 หลายเดือนก่อน

      @@thomasthemaker Robotic voice is AWESOME!

    • @thomasthemaker
      @thomasthemaker  3 หลายเดือนก่อน

      @@davidgibson6449 that's great to hear. Not everyone is into the robotic voice haha

  • @carterkraber6784
    @carterkraber6784 3 หลายเดือนก่อน +1

    Not running well, it keeps saying command not found when I type in python 3. gpt.py and I just can’t get it to run

  • @georgekot6377
    @georgekot6377 ปีที่แล้ว

    Looking forward to your next video

  • @drewski6843
    @drewski6843 2 หลายเดือนก่อน +2

    Wow, thanks for this video man.
    I was windering, once installed, how can you install this on a rc car?
    Have the system roam around with comouter vision, lidar, and other systems for obstacle avoidance, roaming around my property?
    Thanks again for this informative video.

    • @thomasthemaker
      @thomasthemaker  หลายเดือนก่อน

      That's actually a cool idea. Watch out for a video on that!

    • @drewski6843
      @drewski6843 หลายเดือนก่อน

      ​@thomasthemaker lol dude, if you're gonna do that, go into detail on how to, coding, or share the code so I can build and install your code.
      Roaming bots! Lol pretty cool to have.

  • @jasonmcnabb3218
    @jasonmcnabb3218 4 หลายเดือนก่อน +3

    The libraries will not load

  • @colemanandersen
    @colemanandersen 2 หลายเดือนก่อน

    This is an awesome video, thank you!!

    • @thomasthemaker
      @thomasthemaker  หลายเดือนก่อน +1

      Glad you liked it! 😀

  • @nhunglehong3117
    @nhunglehong3117 11 หลายเดือนก่อน

    Nice!!!! It is an interesting project. Thank you very much ❤

  • @mikew2883
    @mikew2883 6 หลายเดือนก่อน

    Awesome tutorial! 👍

  • @DeathTempler
    @DeathTempler ปีที่แล้ว +2

    Can you get it to control motors and LED's? I'm new to the GPT space and am seeking to make a complex arduino android controlled by types of responses. Like a wealth of animations triggered by the chat bot's reply, and the attitude it associates with it's response.

    • @thomasthemaker
      @thomasthemaker  ปีที่แล้ว +1

      That actually sounds really cool. I would defo think about making a video on this . A gpt filter + split GPIO code into micro services will achieve this

  • @johnmatheson9462
    @johnmatheson9462 ปีที่แล้ว +7

    this is awesome ive been trying to do the same project over the last week. i set up your code to use as an example for mine, but its running slow do you have any suggestions on how to speed it up? im running it on a rasp pi 4 8gb btw.

    • @thomasthemaker
      @thomasthemaker  ปีที่แล้ว +3

      The speed of the python script depends on the speed of speech-text + API call + text-to-speech (roughly). So a better mic + a wired connection for internet is my recommendation.

    • @thomasthemaker
      @thomasthemaker  ปีที่แล้ว +2

      Glad I could help, let me know if you have any video ideas suggestions!

  • @mohdismailmohtar5179
    @mohdismailmohtar5179 ปีที่แล้ว +1

    Broo... U r the MANNN...

    • @thomasthemaker
      @thomasthemaker  ปีที่แล้ว

      Glad this helps man! I'm about to make an even better version, so watch out for that!

  • @3dStudioPrinting
    @3dStudioPrinting 5 หลายเดือนก่อน +1

    Is it possible to make it sound less robotic like ?

  • @user-lc3yp3pj6j
    @user-lc3yp3pj6j 6 หลายเดือนก่อน

    Bro nice project thanks for support !!

  • @Vimal739
    @Vimal739 2 หลายเดือนก่อน

    So cool!

  • @CerebralDad
    @CerebralDad 10 วันที่ผ่านมา

    How can you improve the lag time between the command and answer, like alexa or a google device?

  • @禄晨王
    @禄晨王 5 หลายเดือนก่อน +1

    Hello,How to ensure stable access to the chatgpt api in China? Recently, v2ray was used, but it is unstable

    • @thomasthemaker
      @thomasthemaker  5 หลายเดือนก่อน

      I'm not super familiar with the China networking & v2ray but it does seem like most ai model APIs are blocked in China.
      However, Vertex AI (from Google Cloud) still seems to be available

    • @禄晨王
      @禄晨王 5 หลายเดือนก่อน

      @@thomasthemaker Thank you!

  • @nastynoah
    @nastynoah ปีที่แล้ว +1

    I got it running, and its pretty slow. How do I exit back to my command line?????

    • @thomasthemaker
      @thomasthemaker  ปีที่แล้ว

      I'm creating a new version with better speed. Also Ctrl + C to exit

  • @richardshalla
    @richardshalla 5 หลายเดือนก่อน

    That was very interesting. I have a raspberry pi 3 I think I may try this.

  • @dmitriychervonenko2953
    @dmitriychervonenko2953 ปีที่แล้ว +3

    That is a great project. It would be great if you could enhance i even further. For example is it possible to use better text to speech engine which does not sound like a 20 year old robot, or somehow adopt GPT to give shorter answers to make it look more like a conversation rather than pronouncing a long passage? Thank you for your efforts.

    • @thomasthemaker
      @thomasthemaker  ปีที่แล้ว +2

      That's a really good feedback, the next version will have those improvements for sure! Thank you!

    • @friedonions8955
      @friedonions8955 ปีที่แล้ว

      Honestly, I prefer the robotic voice. It gives itself personality!

    • @thomasthemaker
      @thomasthemaker  ปีที่แล้ว +1

      @@friedonions8955 haha that's a first time I heard this. I'm considering making an update for a more human like voice. The issue is latency because espeak (robot voice) is a synthezier and Google voice (human voice) is a conversion algorithm

  • @Aries29ah
    @Aries29ah 10 หลายเดือนก่อน +1

    Any chance I could buy the SD card image for the finished project off you?

  • @iron_ott7156
    @iron_ott7156 ปีที่แล้ว +2

    is there a way to change the voice in to a more human like one?

    • @thomasthemaker
      @thomasthemaker  ปีที่แล้ว +1

      There is if you use gTTS instead of espeak. I'm about to make a new video on that

  • @hilmanafiq3627
    @hilmanafiq3627 ปีที่แล้ว

    Great video! Thanks !!

  • @Cartman-TV
    @Cartman-TV 3 หลายเดือนก่อน

    great 😁 but can you change the voice? It sounds like Dr. Spidso from the 1990 🙃

    • @thomasthemaker
      @thomasthemaker  2 หลายเดือนก่อน

      Haha, imma try. But if you try first!
      -nudging you to tinker-

  • @AhmadAnsarMe
    @AhmadAnsarMe 4 หลายเดือนก่อน

    I got a question. Can you connect it to Bluetooth after you build the chat bot and do you need any kinds of wires to run the chat and what about the Internet how do you connect it to the Internet?

  • @zhangxiang18
    @zhangxiang18 ปีที่แล้ว +1

    Hey thanks for the great vid and does this chatbot understand and speak Chinese?

    • @thomasthemaker
      @thomasthemaker  ปีที่แล้ว

      I'm afraid not, just not right now

  • @mytube1000javed
    @mytube1000javed 7 หลายเดือนก่อน +1

    How to avoid hard coding API key. Suppose I want to give this device to someone else?

    • @thomasthemaker
      @thomasthemaker  7 หลายเดือนก่อน

      You can have exclusive API for each person so if they use it maliciously, they get charged for it fully

  • @Naitikojha-v4o
    @Naitikojha-v4o 11 หลายเดือนก่อน +1

    can i input in my robot which iam making using rasperry pi 4

    • @np1663
      @np1663 8 หลายเดือนก่อน

      I will also be trying this on my robot

  • @brandonwideman2570
    @brandonwideman2570 8 หลายเดือนก่อน

    This may be a silly question but I have a aibo ers1000 dog and would like to put ChatGPT into it, is there a way I could do this?

  • @dapperroag
    @dapperroag 10 หลายเดือนก่อน

    the script can recognize what i’m saying, but i keep getting errors saying (‘Connection aborted.’, ConnectionResetError(104, ‘Connection reset by peer.’))
    any ideas on how to fix it?

  • @K2000-d5q
    @K2000-d5q ปีที่แล้ว

    Hey ! Super cool project ! There is something I might have missed... is this like a skill to add to your Mycroft, or an independent skill that you can't have along the others ?

    • @thomasthemaker
      @thomasthemaker  ปีที่แล้ว

      I think you can certainly replicate this with MyCroft. But I haven't tried it tho

  • @nidzdotnet76
    @nidzdotnet76 4 หลายเดือนก่อน

    So i'm making a robot. I'm thinking of using this because i have a spare pi and USB audio dongle. Can you limit the number of words in the response? Can you get other voice types like an alien?

  • @Enchatèmção
    @Enchatèmção 10 หลายเดือนก่อน +1

    I actually think it is pretty cool man.Can you tell me where we have to plug in the microphone and can the we use a Bluetooth speaker for the speaker

    • @Enchatèmção
      @Enchatèmção 10 หลายเดือนก่อน

      Does it need wifi

  • @panagiotischasapopoulos243
    @panagiotischasapopoulos243 7 หลายเดือนก่อน

    Great video Thomas! Thanks for sharing :) Could you probably provide us with some further information about how this mini microphone can be plugged in and used and what kind of speaker you connected to the Raspberry pi and how? Many thanks in advance!

    • @thomasthemaker
      @thomasthemaker  7 หลายเดือนก่อน

      I would recommend a blue ice mic! Good balance of quality and price

    • @panagiotischasapopoulos243
      @panagiotischasapopoulos243 7 หลายเดือนก่อน

      Thanks for your immediate response! I already bought a mini microphone similar to the one you suggested in the video but indeed the quality of it is not that good. That’s why I asked. And what about the audio output do you use a HDMI adaptor for it? Thank you once again for the nice video and keep up the great work!

    • @thomasthemaker
      @thomasthemaker  7 หลายเดือนก่อน

      @@panagiotischasapopoulos243 for audio output, HDMI should work fine

  • @mahdizayet4011
    @mahdizayet4011 10 หลายเดือนก่อน

    very nice 🔥🔥🔥

  • @kunalshah912
    @kunalshah912 4 หลายเดือนก่อน

    i have connected my speaker via AUX cable to the Pi and connected a MIC via USB, can u please share what changes i need to do in code to make it work?

  • @user-lc3yp3pj6j
    @user-lc3yp3pj6j 6 หลายเดือนก่อน

    Can we use Bluetooth earphone with mic instead of mini microphone?
    We can directly connect using Bluetooth.
    Will it work?

  • @Wodawic
    @Wodawic ปีที่แล้ว +4

    Any additional or less robotic voice libraries?

    • @thomasthemaker
      @thomasthemaker  ปีที่แล้ว +3

      There is also gTTS (by Google) but this has to connect back and forth with Google server to work so the latency of the chatGPT audio response can be worse.

    • @huibert_devet
      @huibert_devet ปีที่แล้ว

      @@thomasthemaker hmm 🤔

    • @tratzum
      @tratzum ปีที่แล้ว

      Hacksmith just did a video with similar results but broader in scope. They has a non robotic voice.
      For me I can't wait for diy projects that do what Alexa was supposed to be

    • @dacianfd8418
      @dacianfd8418 ปีที่แล้ว

      Hello. How can i use with Romanian Language ? On Polly it s "Emil" language and i want to use it. To ask and response in romania. Can you help me ?

    • @michaeltomilobamfon3433
      @michaeltomilobamfon3433 ปีที่แล้ว

      @@tratzumwheres the link?

  • @okancan8191
    @okancan8191 ปีที่แล้ว +1

    Hı ı have a problem aboute price account ı dont want to start price account so can you show me free way or different ı wait to your solves

    • @IPUTCROISSANTSINBLENDERS
      @IPUTCROISSANTSINBLENDERS 7 หลายเดือนก่อน

      Hi! Sorry for being late, but I’ve found a free, offline way. It’s called “alpaca”. Data slayer made a video on it, the description has the tutorial. It works for any operating system.

  • @alex595659
    @alex595659 ปีที่แล้ว

    Great job

    • @thomasthemaker
      @thomasthemaker  ปีที่แล้ว

      Hey thanks for the good words! I appreciate that

  • @henryhancock7396
    @henryhancock7396 11 หลายเดือนก่อน +2

    Can you get gpt to interface with the io pins?

    • @nonchalant_morocco
      @nonchalant_morocco 7 หลายเดือนก่อน +1

      Great questions, and i think you can. and it ll teach you some good stuff.

  • @jupiterjs031
    @jupiterjs031 11 หลายเดือนก่อน

    Thank you for the wonderful tutorial.
    Once the VLC is executed, the file finishes playing and the Listening for 'Hey'... It does not automatically turn into. VLC doesn't seem to be ending.

  • @aligumble3666
    @aligumble3666 9 หลายเดือนก่อน

    I'll Try to make this myself. I'm planning to leave everything plugged in (microphone, speaker) and hang it on a pegboard. Will the Script Start automaticly after setting it up once? I dont Plan to leave a Monitor, mouse and keyboard connected. Also, can I change the Language to german?
    Awesome Video, thank you!

  • @tenyimbright
    @tenyimbright ปีที่แล้ว

    One possible way to rewrite your sentence is:
    Hello, you make coding look so easy. Is it possible to use more than one AI platform at the same time?

    • @thomasthemaker
      @thomasthemaker  ปีที่แล้ว

      can you rephrase the question by any chance?

  • @borisai
    @borisai 9 หลายเดือนก่อน

    Actually, this is pretty amazing! What do you suggest as a energy source to run the rasp unplugged?

    • @thomasthemaker
      @thomasthemaker  9 หลายเดือนก่อน

      I would say a solar power source + battery would be a good choice (15-20W should be enough).

  • @kravengamerz3961
    @kravengamerz3961 5 หลายเดือนก่อน

    What to do at 4:48 ?? After the key is written what should we do next with the code

  • @ismaelperegrina8201
    @ismaelperegrina8201 7 หลายเดือนก่อน

    This is awesome , thanks a lot , although I have not been able to make it properly run on raspberry pi zero w2 , have you tried it? It starts to listen and when triggered sometimes it works rcognizing speech sometimes it does not.

  • @squirralien1863
    @squirralien1863 6 หลายเดือนก่อน

    Do you know how to change the voice, it would be good to change the voice to a famous voice clone, a movie star you love or a tv robot maybe even a star wars actor, first need to be able to clone the voice and I know there is a website that can do this but not sure about any of the rest of the process to make it work. If you do know how a video would be awesome, I loved this video, thank you.

  • @aldhenfrancisco9643
    @aldhenfrancisco9643 7 หลายเดือนก่อน

    Hi! Could you pls make a tutorial for voice assistant that has customized responses? Thank you

  • @FarazKhan-dm9bw
    @FarazKhan-dm9bw 2 หลายเดือนก่อน

    Hello brother I liked your project. But I have a question. Can I use a raspberry pi 3a+ to make this ???? Please respond quickly brother. You got a new sub

    • @thomasthemaker
      @thomasthemaker  2 หลายเดือนก่อน

      Howdy, you certainly can. As long as it has wifi onboard

    • @FarazKhan-dm9bw
      @FarazKhan-dm9bw 2 หลายเดือนก่อน

      @@thomasthemaker thanks

  • @sakuyarules
    @sakuyarules ปีที่แล้ว

    This was pretty cool, also goo to know about the cost and $5 credit, thanks!

    • @thomasthemaker
      @thomasthemaker  ปีที่แล้ว

      Yep, even without the 5$ credit, the API is wildly cheap for normal use (not costing more than 10$/yr)

  • @huibert_devet
    @huibert_devet ปีที่แล้ว +1

    hey 😉, Greetings from far Germany,
    I use a iMac, can I use the same code? And is a more pleasant voice possible? Does a paid account make more sense for better reaction time? Those are my three tiny questions 😇.
    Good luck and success for your channel. You have my subscription :)

    • @huibert_devet
      @huibert_devet ปีที่แล้ว

      my voice question is already answered 😎

    • @thomasthemaker
      @thomasthemaker  ปีที่แล้ว

      If you don't mind, can you share how you resolved this? Did you pay for some voice model?

    • @huibert_devet
      @huibert_devet ปีที่แล้ว

      Sorry ... I wish I could have help you
      BUT ... if you want to look two German YT about the same issue.
      This might be useful for you. They have used much better voices :)
      and there used also free variants for the voice ...
      they have build extra devices for in and output, but of course this is optional
      th-cam.com/video/7mR_bGLNRb4/w-d-xo.html
      th-cam.com/video/IeizgjXoxVc/w-d-xo.html

  • @hameedakinwunmi832
    @hameedakinwunmi832 8 หลายเดือนก่อน

    Good evening I was able to follow your instructions till the end. Unfortunately for me when I run the code I get an import error message that says can’t import load_dotenv from dotenv I’ve deleted and reinstalled dotenv but I still get the error any do you have any ideas as to how to fix this?

    • @thomasthemaker
      @thomasthemaker  8 หลายเดือนก่อน

      Try "sudo apt" also not just pip, that might work

  • @antonkirchner6900
    @antonkirchner6900 ปีที่แล้ว +1

    Hey Thomas nice project! Currently trying to do the same. Plan is to build a phone assistent for a local store. So instead of using mic using a IVR system with a SIM card so it takes calls. Is it possible to run it in a chat mode instead of completion mode so it actually follows through the conversation? 🤖

  • @markboweringphotography4408
    @markboweringphotography4408 ปีที่แล้ว

    I get the following error when trying to Pip3 install the PyAudi:
    ERROR: Could not build wheels for PyAudio
    Any ideas?

    • @thomasthemaker
      @thomasthemaker  ปีที่แล้ว

      I would recommend running this
      pip3 install --upgrade pip3 setuptools wheel
      Or simply
      Pip3 install wheel

  • @drevil1168
    @drevil1168 ปีที่แล้ว +1

    Hi 👋 one question, would this work as well on an Orange pi and their Ubuntu version ?

    • @thomasthemaker
      @thomasthemaker  ปีที่แล้ว +2

      Yep. In fact, just as long as you have any computing device that can run Python3 & has a wifi connection, you can get this working. With that said, some libraries might not work the same way, but that's something that some googling can fix. Let me know how it goes tho

    • @drevil1168
      @drevil1168 ปีที่แล้ว +2

      @@thomasthemaker thank you very much I will🙏

  • @Jerseylance1
    @Jerseylance1 7 หลายเดือนก่อน

    Nice bro🔥🔥🔥🔥🔥✌️

  • @SwiftShadow887
    @SwiftShadow887 5 หลายเดือนก่อน

    can you change the voice? or use other text-to-speech services.

  • @MrLartisterouge
    @MrLartisterouge ปีที่แล้ว

    Hi, exellent video, really, you have resolved 1 month of research 👍, have a question : i'm french and i need to have the text in french (not the voice, just text ) how can change that ?
    this happens on the side of your code, or side of openai ?

    • @thomasthemaker
      @thomasthemaker  ปีที่แล้ว +1

      I would say mostly on the GPT side.

  • @yorutamashi
    @yorutamashi 9 หลายเดือนก่อน

    Is it possible to share something to the bot with a phone, like a recipe, so it can help you go step by step while cooking and you can ask questions like "what was the amount of flour in the previous step"?

    • @ismaelperegrina8201
      @ismaelperegrina8201 7 หลายเดือนก่อน

      It is possible if you use something like autogen or code interpreter running also on the PI

  • @lehuyen4187
    @lehuyen4187 ปีที่แล้ว

    Interesting!!!

  • @marti4679
    @marti4679 ปีที่แล้ว +1

    THOOOOMAAASSSSSS....... I LOVEEE YOURRR PROGET BUT I WOULD LIKE TO KNOW HOW TO CHANGE THE VOICE OF THE ASSISTANT .

    • @trispytreems
      @trispytreems 4 หลายเดือนก่อน

      I second this, I wanna try out some different AI voices 🙂

  • @tejashavsingh5553
    @tejashavsingh5553 9 หลายเดือนก่อน

    hey man nice video but i am unable to run these command python3 -m pip install python-dotenv
    pip3 install openai dotenv SpeechRecognition pyttsx3 gtts PyAudio
    sudo apt install python3-pyaudio flac python3-espeak espeak python3-dotenv
    pip uninstall dotenv
    pip install python-dotenv every time i run these an error pop up that device in not root (something like that ) please help

  • @SAM-hb6mn
    @SAM-hb6mn 6 หลายเดือนก่อน

    bro the code an't coding it is saying this module is not availiable now

  • @MuradMehrabAbrar
    @MuradMehrabAbrar 7 หลายเดือนก่อน

    I am using a USB headset with a microphone on a Raspberry Pi 4b. I tried every step accordingly but my voice is not captured by the code. I checked my microphone and it is working fine. The code is just stuck at "Listening for "Hey" ... Any solution?

    • @thomasthemaker
      @thomasthemaker  7 หลายเดือนก่อน

      Check for audio source, make sure it's pointing to your headset

    • @MuradMehrabAbrar
      @MuradMehrabAbrar 7 หลายเดือนก่อน

      @@thomasthemaker Thanks for your response! The audio source is set to my headset, also I made sure that the headset mic and speaker are set to default. The headset works fine with other applications, just the speech_recognition function is not working...

    • @thomasthemaker
      @thomasthemaker  7 หลายเดือนก่อน

      @@MuradMehrabAbrar hmm try with arecord & aplay in the terminal and see if that works.
      Sometimes you might need to wait a few seconds for the translation voice ->text

  • @user-lc3yp3pj6j
    @user-lc3yp3pj6j 6 หลายเดือนก่อน

    Can we use laptop default speaker instead of microphone?

  • @bobbob-f8r
    @bobbob-f8r 6 หลายเดือนก่อน

    Could you help me with a part of this project? When I'm trying to run this code on my HDMI speakers, it says something about alsa error, and how it failed to start. Do you think if I downloaded pulseaudio, or used a headphone jack speaker, it would work?

    • @bobbob-f8r
      @bobbob-f8r 6 หลายเดือนก่อน

      ALSO: What kind of speaker do you use? Can you please give me the link to buy it? Thanks

    • @bobbob-f8r
      @bobbob-f8r 6 หลายเดือนก่อน

      could we get in contact so you can help me with the rasberry pi prolems?

  • @Galaxy-Knight
    @Galaxy-Knight ปีที่แล้ว

    Very cool !Can it support other languages? I would like to have a conversation with him in Chinese.

  • @mozbeat2162
    @mozbeat2162 ปีที่แล้ว

    Hi I tryed this today on my mac but the script dont react to any sound. Probably because its not connectet to my mic but in the audio settings isnt a hdmi devise like you showed

    • @thomasthemaker
      @thomasthemaker  ปีที่แล้ว

      Let's run through some simple debugging.
      1. Did it pick up your voice? If not, has to be the code not picking up the right mic.If so, move on.
      2. Is it printing out the response in the terminal? If not, the API and/or wifi is not working. If yes, move on.
      3. In this case, there can only be the python script not outputting to the right speaker.
      Let me know if this helps

  • @thewonkusisback9592
    @thewonkusisback9592 8 หลายเดือนก่อน

    I’m sort of new to all this, but I followed the exact steps you did in your video and every time I try to run the code it says there’s an error with module import open AI on line 2 how can I fix this?

    • @thomasthemaker
      @thomasthemaker  8 หลายเดือนก่อน +1

      You will need to install the OpenAI library. Run "pip3 install OpenAI" in your terminal

    • @thewonkusisback9592
      @thewonkusisback9592 8 หลายเดือนก่อน

      @@thomasthemaker thanks very much for the help

  • @FarahH-v6q
    @FarahH-v6q ปีที่แล้ว

    Thank u! Really awsome ! But can't I change the voice ? Ik u said it could be worse with gTTs but isn't there an another solution?

    • @thomasthemaker
      @thomasthemaker  ปีที่แล้ว +2

      At the moment, I don't know of anything that sounds better, but I'm working on an app to incorporate this, so potentially you will have the normal Google Voice assistant's voice for it.

  • @andreafreeman6396
    @andreafreeman6396 9 หลายเดือนก่อน

    Thank you for this!!! Do you know if/ how it’s possible to change how the voice sounds?

    • @zayanarshad88
      @zayanarshad88 7 หลายเดือนก่อน

      I'm guessing he used the pyttsx3 module (havent taken a look at the code), which uses the operating system's built in text to speech technology. You could try using openai's tts model, but that would be more code and an extra cost. I *have* however, opted to use it for many personal projects.

  • @default_youtube_profile
    @default_youtube_profile ปีที่แล้ว

    in your github repo you have shared , can you please add requirements.txt file ?

  • @hervan2011
    @hervan2011 8 หลายเดือนก่อน

    Muchas gracias

  • @solodagci
    @solodagci 6 หลายเดือนก่อน

    Did you try the terminal commands recently? The first two gave me this error out of the box: ''error: externally-managed-environment
    '' I'm using a Pi4 and Raspberry Pi OS 64 Bookworm. Do I have to downgrade?

    • @thomasthemaker
      @thomasthemaker  6 หลายเดือนก่อน +1

      Not necessarily.
      Bookworm adopts a different approach to python so when installing anything using pip, add this to the end of the command:
      --break-system-packages
      For example:
      Pip3 install OpenAI --break-system-packages

  • @brayanrayan4853
    @brayanrayan4853 6 หลายเดือนก่อน

    Hi can i do in Spanish language? Please is for a university project. Thanks so much !

  • @justarandomguy564
    @justarandomguy564 6 หลายเดือนก่อน

    i have a small doubt .the thing is the voice of the ai is like robotic can u try to integrate a voice in it . also the answer it gives is pretty big .can u try to shorten it a bit . i love ur work .i appreciate it soo much if u respond cause ive got a project . pls do respond

    • @thomasthemaker
      @thomasthemaker  6 หลายเดือนก่อน +1

      I believe there is a parameter for that in how you use the OpenAI library in python, try reading into the documentation! Lemme know if you have any issues

    • @justarandomguy564
      @justarandomguy564 6 หลายเดือนก่อน

      ​@@thomasthemakerthere is a parameter in openai docs to limit the no. of charactar in the text .but the robotic voice is something which is purely based on the OS that we are using idk how to rectify it ...

    • @thomasthemaker
      @thomasthemaker  6 หลายเดือนก่อน

      @@justarandomguy564 you can also use OpenAI text to voice. At the time of me making the video, this was not very stable. But currently, I highly recommend it. It's quite better than the typical Google Voice API.
      There should also be another version of the python script in my GitHub. Take a look at that!

  • @anhquangnguyen620
    @anhquangnguyen620 7 หลายเดือนก่อน

    Sau khi mình copy code vào mục sudo nano gpt.python thì làm gì nữa vậy a e đến bước này mà không làm đc nữa

    • @thomasthemaker
      @thomasthemaker  7 หลายเดือนก่อน

      Xong rồi chạy code thôi em: python3 gpt.py

    • @anhquangnguyen620
      @anhquangnguyen620 7 หลายเดือนก่อน

      Ok anh e làm đc rồi ạ. Thankyou anh mà trong phần mô tả, phần code để dán vào thư mục í, dòng 12-13-14 thiếu dấu # ở đầu nên bị lỗi e ktra mãi mới thấy :((

  • @randomroy24
    @randomroy24 9 หลายเดือนก่อน

    Hey thomas,
    How do i change the voice accent of this one?

  • @qwerty_muffin4083
    @qwerty_muffin4083 8 หลายเดือนก่อน

    if i wanted to make it have a personality lets say an old man how can i achieve this, also how can i change the voice

  • @mauricelebrun6299
    @mauricelebrun6299 ปีที่แล้ว

    I'm trying to add my usb audio interface to the script by adding it's index_device number but it doesn't seem to work properly. Do you have any insight ?

    • @thomasthemaker
      @thomasthemaker  ปีที่แล้ว

      I would say make a separate python script to try out all the index_device values. That's faster.

    • @mauricelebrun6299
      @mauricelebrun6299 ปีที่แล้ว

      @@thomasthemaker something like this ?
      import pyaudio
      p = pyaudio.PyAudio()
      info = p.get_host_api_info_by_index(0)
      numdevices = info.get('deviceCount')
      for i in range(0, numdevices):
      if (p.get_device_info_by_host_api_device_index(0, i).get('maxInputChannels')) > 0:
      print("Input Device id ", i, " - ", p.get_device_info_by_host_api_device_index(0, i).get('name'))
      p.terminate()

  • @onkarbatra9884
    @onkarbatra9884 ปีที่แล้ว

    Great! Did you faced any problems with the script recognizing wake-word? I've been trying for hours now. Any suggestions?

    • @thomasthemaker
      @thomasthemaker  ปีที่แล้ว

      I did actually, there's a latency at every step. I would recommend trying a better mic, when I did that, the number of trials come down from 12 to 2

    • @ismaelperegrina8201
      @ismaelperegrina8201 7 หลายเดือนก่อน

      @@thomasthemaker Jisus Crais , so is that difficult to make the mic work properly?

  • @imscalby
    @imscalby 10 หลายเดือนก่อน +1

    can you change the language?

  • @hervan2011
    @hervan2011 8 หลายเดือนก่อน

    Excelente su video. Disculpa la pregunta se puede trabajar la IA CHATGPT sin estar inscrito o se debe tener un registro para poder realziar la aplicación de CHATBOT

    • @thomasthemaker
      @thomasthemaker  8 หลายเดือนก่อน

      Unfortunately you do need to have an OpenAI account & API to do that