ChatGPT + Raspberry Pi - A ChatGPT powered Raspberry Pi chatbot

  Рет қаралды 80,695

Thomas the Maker

Thomas the Maker

Күн бұрын

Пікірлер: 416
@geoffreygeo6385
@geoffreygeo6385 3 ай бұрын
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 3 ай бұрын
Great! Thanks for sharing. I will 📌 this to help others
@theredditemperor8806
@theredditemperor8806 3 ай бұрын
helped me a lot, thanks!
@CarlosHernandez-yt5so
@CarlosHernandez-yt5so 2 ай бұрын
God Bless You. Thank you for taking time out of your day to comment this, you have been so helpful
@Skibidi292oo
@Skibidi292oo 26 күн бұрын
Thanks this worked well i can now use chatgpt as a voice command to turn on the laser
@thomasthemaker
@thomasthemaker 10 күн бұрын
Ohhh noaicee. Did it work? I wanna seee
@alexpapou4806
@alexpapou4806 3 ай бұрын
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!
@lzcell9727
@lzcell9727 7 ай бұрын
The first time I saw this video, I was intrigued, but now ChatGPT has its own speech conversation function.
@thomasthemaker
@thomasthemaker 7 ай бұрын
It surely does
@mq-r3apz291
@mq-r3apz291 6 ай бұрын
How to get chatgbt to control actual motors PLEAAAASEE😢​@@thomasthemaker
@JohnDoe-og9kz
@JohnDoe-og9kz Жыл бұрын
Amazing work dude. Also congrats on accomplishing 100 subs. Have a great day! - your 100th subscriber
@thomasthemaker
@thomasthemaker Жыл бұрын
Hey John, I appreciate that! Have yrself a good weekend!
@WINTERMUTE_AI
@WINTERMUTE_AI Жыл бұрын
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 Жыл бұрын
ill start my project with yours as guidance to make my own, awesome and simple. Thank you!
@betrayedsoul47
@betrayedsoul47 7 ай бұрын
Thx this is so cool your 1000th subscriber
@thomasthemaker
@thomasthemaker 7 ай бұрын
Much appreciated 👍!
@jtr1227
@jtr1227 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.🌟🌟👍
@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
@user-pi1lq3pj
@user-pi1lq3pj Жыл бұрын
thank you it very interesting to see somone of your age do a project like this
@elvenkim
@elvenkim 10 ай бұрын
most interesting project! didn't know raspberry pi can run chatgpt
@davyponte
@davyponte 10 ай бұрын
That’s amazing! Bravo👏🏻 congrats… but is possible change the chatbot voice? For example my voice?
@Kataroobungaloo
@Kataroobungaloo 7 ай бұрын
Wow incredible work here!! Very inspiring!!!
@markboweringphotography4408
@markboweringphotography4408 Жыл бұрын
Superb project. Just what i was looking for.
@colemanandersen
@colemanandersen 2 ай бұрын
This is an awesome video, thank you!!
@thomasthemaker
@thomasthemaker Ай бұрын
Glad you liked it! 😀
@jasonmcnabb3218
@jasonmcnabb3218 4 ай бұрын
The libraries will not load
@georgekot6377
@georgekot6377 Жыл бұрын
Looking forward to your next video
@nhunglehong3117
@nhunglehong3117 Жыл бұрын
Nice!!!! It is an interesting project. Thank you very much ❤
@TheCryptoCollective69
@TheCryptoCollective69 11 ай бұрын
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 15 күн бұрын
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.
@richardshalla
@richardshalla 5 ай бұрын
That was very interesting. I have a raspberry pi 3 I think I may try this.
@thomasthemaker
@thomasthemaker 5 ай бұрын
Glad I could help!
@drewski6843
@drewski6843 3 ай бұрын
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.
@user-lc3yp3pj6j
@user-lc3yp3pj6j 6 ай бұрын
Bro nice project thanks for support !!
@3dStudioPrinting
@3dStudioPrinting 5 ай бұрын
Is it possible to make it sound less robotic like ?
@mikew2883
@mikew2883 7 ай бұрын
Awesome tutorial! 👍
@turn1747
@turn1747 4 күн бұрын
Can you get this as standalone system with a code to start on bootup? Thanks
@carterkraber6784
@carterkraber6784 4 ай бұрын
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
@mohdismailmohtar5179
@mohdismailmohtar5179 Жыл бұрын
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!
@Vimal739
@Vimal739 2 ай бұрын
So cool!
@johnmatheson9462
@johnmatheson9462 Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
Glad I could help, let me know if you have any video ideas suggestions!
@禄晨王
@禄晨王 5 ай бұрын
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 Жыл бұрын
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
@hilmanafiq3627
@hilmanafiq3627 Жыл бұрын
Great video! Thanks !!
@iron_ott7156
@iron_ott7156 Жыл бұрын
is there a way to change the voice in to a more human like one?
@thomasthemaker
@thomasthemaker Жыл бұрын
There is if you use gTTS instead of espeak. I'm about to make a new video on that
@Naitikojha-v4o
@Naitikojha-v4o 11 ай бұрын
can i input in my robot which iam making using rasperry pi 4
@np1663
@np1663 9 ай бұрын
I will also be trying this on my robot
@jrrisra
@jrrisra Жыл бұрын
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 ай бұрын
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
@mytube1000javed
@mytube1000javed 7 ай бұрын
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
@Aries29ah
@Aries29ah 11 ай бұрын
Any chance I could buy the SD card image for the finished project off you?
@henryhancock7396
@henryhancock7396 11 ай бұрын
Can you get gpt to interface with the io pins?
@nonchalant_morocco
@nonchalant_morocco 7 ай бұрын
Great questions, and i think you can. and it ll teach you some good stuff.
@Cartman-TV
@Cartman-TV 3 ай бұрын
great 😁 but can you change the voice? It sounds like Dr. Spidso from the 1990 🙃
@thomasthemaker
@thomasthemaker 3 ай бұрын
Haha, imma try. But if you try first! -nudging you to tinker-
@zhangxiang18
@zhangxiang18 Жыл бұрын
Hey thanks for the great vid and does this chatbot understand and speak Chinese?
@thomasthemaker
@thomasthemaker Жыл бұрын
I'm afraid not, just not right now
@Enchatèmção
@Enchatèmção 10 ай бұрын
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
@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
@jupiterjs031
@jupiterjs031 Жыл бұрын
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.
@VocaliseVisual
@VocaliseVisual 9 күн бұрын
Would raspberry pie zero 2w work?
@thomasthemaker
@thomasthemaker 9 күн бұрын
@@VocaliseVisual yes it would
@alex595659
@alex595659 Жыл бұрын
Great job
@thomasthemaker
@thomasthemaker Жыл бұрын
Hey thanks for the good words! I appreciate that
@mahdizayet4011
@mahdizayet4011 10 ай бұрын
very nice 🔥🔥🔥
@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).
@aldhenfrancisco9643
@aldhenfrancisco9643 8 ай бұрын
Hi! Could you pls make a tutorial for voice assistant that has customized responses? Thank you
@okancan8191
@okancan8191 Жыл бұрын
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.
@dmitriychervonenko2953
@dmitriychervonenko2953 Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
@@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
@panagiotischasapopoulos243
@panagiotischasapopoulos243 8 ай бұрын
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 8 ай бұрын
I would recommend a blue ice mic! Good balance of quality and price
@panagiotischasapopoulos243
@panagiotischasapopoulos243 8 ай бұрын
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
@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)
@CerebralDad
@CerebralDad 21 күн бұрын
How can you improve the lag time between the command and answer, like alexa or a google device?
@thomasthemaker
@thomasthemaker 10 күн бұрын
Good question. From what I see, the majority of latency comes from text -> voice & the other way around. Try plugging it into your Wi-Fi router with Ethernet cable
@thomasthemaker
@thomasthemaker 10 күн бұрын
And you could also use OpenAI whisper or ElevenLab to see if it is any better
@CerebralDad
@CerebralDad 9 күн бұрын
@@thomasthemaker unfortunately not an option on the robot im building. The latency cant be that bad.
@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?
@hervan2011
@hervan2011 9 ай бұрын
Muchas gracias
@kravengamerz3961
@kravengamerz3961 5 ай бұрын
What to do at 4:48 ?? After the key is written what should we do next with the code
@DeathTempler
@DeathTempler Жыл бұрын
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 Жыл бұрын
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
@snoebix5125
@snoebix5125 Ай бұрын
So getting a key is free ?
@ismaelperegrina8201
@ismaelperegrina8201 8 ай бұрын
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.
@aligumble3666
@aligumble3666 10 ай бұрын
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!
@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?
@marti4679
@marti4679 Жыл бұрын
THOOOOMAAASSSSSS....... I LOVEEE YOURRR PROGET BUT I WOULD LIKE TO KNOW HOW TO CHANGE THE VOICE OF THE ASSISTANT .
@trispycee
@trispycee 4 ай бұрын
I second this, I wanna try out some different AI voices 🙂
@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.
@GuillermoTs
@GuillermoTs 6 ай бұрын
What is the difference from use a web browser?
@thomasthemaker
@thomasthemaker 6 ай бұрын
It's like using Google voice on yr phone vs using a Google home mini. It's quite different
@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 Жыл бұрын
I would say mostly on the GPT side.
@Jerseylance1
@Jerseylance1 8 ай бұрын
Nice bro🔥🔥🔥🔥🔥✌️
@lehuyen4187
@lehuyen4187 Жыл бұрын
Interesting!!!
@thomasthemaker
@thomasthemaker Жыл бұрын
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?
@imscalby
@imscalby 10 ай бұрын
can you change the language?
@drevil1168
@drevil1168 Жыл бұрын
Hi 👋 one question, would this work as well on an Orange pi and their Ubuntu version ?
@thomasthemaker
@thomasthemaker Жыл бұрын
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 Жыл бұрын
@@thomasthemaker thank you very much I will🙏
@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?
@nidzdotnet76
@nidzdotnet76 5 ай бұрын
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?
@antonkirchner6900
@antonkirchner6900 Жыл бұрын
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? 🤖
@thomasthemaker
@thomasthemaker Жыл бұрын
Yes you can actually
@maartenspiegelenburg1015
@maartenspiegelenburg1015 7 ай бұрын
@@thomasthemakerhow
@hervan2011
@hervan2011 9 ай бұрын
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 9 ай бұрын
Unfortunately you do need to have an OpenAI account & API to do that
@brandonwideman2570
@brandonwideman2570 9 ай бұрын
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?
@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 Жыл бұрын
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.
@brayanrayan4853
@brayanrayan4853 7 ай бұрын
Hi can i do in Spanish language? Please is for a university project. Thanks so much !
@sussyshubham
@sussyshubham 6 ай бұрын
Will it work with Raspbeeey pi Pico?
@thomasthemaker
@thomasthemaker 6 ай бұрын
Unfortunately not because a pico is a micro controller. Although it does have python and wifi, maybe worth a try
@Myth_sg
@Myth_sg 7 ай бұрын
and how to change the sound
@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
@default_youtube_profile
@default_youtube_profile Жыл бұрын
in your github repo you have shared , can you please add requirements.txt file ?
@livinginsouthflorida9346
@livinginsouthflorida9346 6 ай бұрын
Hi Thomas, Thanks for this educational video, loved it. I do have an idea of developing a device using voice recognition and AI. However, I would like different types of humans voices to answer questions, and the devices shold built on the smallest Rasberry PI possible. I Can give you more details if you're interested in helping me wiht this project. thanks so much !!
@thomasthemaker
@thomasthemaker 6 ай бұрын
Thanks for the feedback. This has been quite a popular response. I'm putting that as my next video for sure!
@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
@randomroy24
@randomroy24 9 ай бұрын
Hey thomas, How do i change the voice accent of this one?
@thefatguy7947
@thefatguy7947 Жыл бұрын
Awesome! Does this support other languages!
@thomasthemaker
@thomasthemaker Жыл бұрын
Yes, I believe the API key is universal, I would recommend Go, C or Dart (maybe even JS) if you wanna go with something else
@TahaHussain-c3h
@TahaHussain-c3h 9 ай бұрын
I had this error /usr/bin/python3: can't find '__main__' module in '/home/Tah213/gpt2.py'
@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
@anhquangnguyen620
@anhquangnguyen620 8 ай бұрын
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 8 ай бұрын
Xong rồi chạy code thôi em: python3 gpt.py
@anhquangnguyen620
@anhquangnguyen620 8 ай бұрын
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 :((
@SpooderOfficial
@SpooderOfficial 5 ай бұрын
Does ChatGPT have a conversation with you in this script?
@thomasthemaker
@thomasthemaker 5 ай бұрын
Yes!
@SpooderOfficial
@SpooderOfficial 5 ай бұрын
@@thomasthemaker Awesome! I'm new to this and I just bought a raspberry pi, it should be coming very soon. Thank you for this really cool tutorial, it inspired me to work on my first raspberry pi project
@thomasthemaker
@thomasthemaker 5 ай бұрын
@@SpooderOfficial I appreciate that! Let me know how you like your pi when you get it
@randomroy24
@randomroy24 9 ай бұрын
Also will it be able to read other languages?
@Myth_sg
@Myth_sg 7 ай бұрын
can you make in windows
@Luukverheijen-e1x
@Luukverheijen-e1x 7 ай бұрын
would a Raspberry Pi Zero 2 W work?
@thomasthemaker
@thomasthemaker 7 ай бұрын
It would, might be slower but still work
@Luukverheijen-e1x
@Luukverheijen-e1x 7 ай бұрын
thanks @@thomasthemaker
@pirateben
@pirateben Жыл бұрын
can we add a database to this so it can recall charters and town like a link in a video game with keywords like make a town make a npc
@thomasthemaker
@thomasthemaker Жыл бұрын
I suppose you can, it's a very simple function to implement, so yes
@Pitzie86
@Pitzie86 Жыл бұрын
I like to have a face who talks to you. Like emo the robot, that would be cool 😎
@user-lc3yp3pj6j
@user-lc3yp3pj6j 6 ай бұрын
Do you connect microphone to laptop usb or raspberry Pi usb?
@thomasthemaker
@thomasthemaker 6 ай бұрын
Raspberry Pi USB was what I used
@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 8 ай бұрын
@@thomasthemaker Jisus Crais , so is that difficult to make the mic work properly?
@phenoumene
@phenoumene Ай бұрын
could you do this locally? local llm on raspberry?
@thomasthemaker
@thomasthemaker Ай бұрын
@@phenoumene you could try ollama with tiny llama model out
@phenoumene
@phenoumene Ай бұрын
really? a runner like ollama with llama 7b can run efficiently on rasperry? wow im impressed ! thank you
@thomasthemaker
@thomasthemaker Ай бұрын
@@phenoumene not llama. Well it does run with some 10-sec latency on pi5 but I always recommend tiny llama (720mil) on RPi 4 and up
@phenoumene
@phenoumene Ай бұрын
thanks for your advices!
@thomasthemaker
@thomasthemaker Ай бұрын
@@phenoumene no problem! Let me know if it works
@justarandomguy564
@justarandomguy564 7 ай бұрын
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 7 ай бұрын
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 7 ай бұрын
​@@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 7 ай бұрын
@@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!
@ahmadswalih439
@ahmadswalih439 Жыл бұрын
let me test this project 😄
@thomasthemaker
@thomasthemaker Жыл бұрын
Hey lemme know how it goes lol
Run your own AI (but private)
22:13
NetworkChuck
Рет қаралды 1,5 МЛН
An Unknown Ending💪
00:49
ISSEI / いっせい
Рет қаралды 54 МЛН
Spongebob ate Patrick 😱 #meme #spongebob #gmod
00:15
Mr. LoLo
Рет қаралды 16 МЛН
Creating Jarvis powered by OpenAI and Python | ChatGPT
18:40
CS Coach
Рет қаралды 918 М.
I Built a CoPilot+ AI PC (without Windows)
12:50
Jeff Geerling
Рет қаралды 377 М.
Google Just Turned the RPi into a Supercomputer...
5:42
Data Slayer
Рет қаралды 558 М.
How to Run a ChatGPT-like AI on Your Raspberry Pi
11:46
Gary Explains
Рет қаралды 38 М.
I Can Save You Money! - Raspberry Pi Alternatives
15:04
Linus Tech Tips
Рет қаралды 3,4 МЛН
Every Developer Needs a Raspberry Pi
27:27
Sam Meech-Ward
Рет қаралды 601 М.
An Unknown Ending💪
00:49
ISSEI / いっせい
Рет қаралды 54 МЛН