How to Create Jarvis AI Assistant | Like Iron Man

  Рет қаралды 443,953

Ryan John

Ryan John

Күн бұрын

Пікірлер: 504
@piddy1235
@piddy1235 10 ай бұрын
00:00 Create an AI voice assistant using open AI 02:01 Learn how to create and use an API key 04:17 Installing Pi audio can be challenging 06:24 Install necessary packages for Pi audio and speech recognition 08:49 Creating a while loop and setting up microphone 10:58 Creating an always-listening AI program 13:01 Using OpenAI's GPT 3.5 model with Google speech to text and MP3 file creation 15:07 Learn how to carry on an audible conversation with chat GPT Crafted by Merlin AI.
@ryan_phdsec
@ryan_phdsec Жыл бұрын
If you are having issues check out the troubleshooting portion of this video for "common issues" I see people having. kzbin.info/www/bejne/onTaaHh9jJqCY9U
@guilhermevinicius6007
@guilhermevinicius6007 Жыл бұрын
I was thinking about having a Jarvis this week! Great content man! :) A big hug from Brazil!
@mais-famoso-do-youtoba
@mais-famoso-do-youtoba 11 ай бұрын
tbm sou do Brasil
@houssamchehadiofficial
@houssamchehadiofficial Жыл бұрын
this is not a personal ai, if you use ChatGPT or any API provider then you do not have your own AI, for example you can teach it how to do illegal things and let it give you back a prompt about it or let even make bypass simple things like NSFW filters. Your personal AI will learn any dataset you want and will provide you with any feedback you want, and you will be able to modify its training and algorithm.
@alrimvt02
@alrimvt02 Жыл бұрын
But to achieve that, how much computational power is needed, how much investment in components?
@houssamchehadiofficial
@houssamchehadiofficial Жыл бұрын
@alrimvt02 if you are going to download pre-trained sets and alter them, then all you need is 16GB RAM because language models that are commercially available don't have long term memory, though I suggest 32GB for smoother work. If you are going to do the training from scratch and expect replies similar to what you see in GPT 3.5, then you will need the following: If you're programming through Python, such as using pytorch, then you will need GPU since Python requires GPU, and the best would to buy an Nvidea RTX 4090 GPU currently costs around $2000 USD. If you are using Php or C++, go with CPU such as Intel Core i9-13900KS, which costs around $1000 USD. You could always use plugins that translate your code behind the scenes to different languages so you can use the power of either GPU or CPU, whichever you have on hand. Also, you can use TPU to increase tensor performance for as low as $150 USD, especially if you are using Tensorflow. To begin with deep learning and I mean just learn and test AI a $100 computer will do the work, all needed software will be downloaded and will work but won't be a smart AI only a learning AI. For something that runs models such as GPT turbo and learns from the internet, a full option computer will cost as low as $4000, surely the faster you want it to work the higher the cost up to a $100,000 for computers running Nvidea A100 GPU, 512 GB RAM, and a Ryzen Threadripper processor. Again, $4000 would still be great and give you all you need. Lastly, keep in mind it's the learning process for the AI that needs resources, but after it learns then the AI would run on any cheap computer would run it just have between 16 to 32 GB RAM. While saying this, since we need the resources just for training the AI then we have an option to rent powerful computers that are made specifically to train your AI, those are found on clouds such as Google cloud and AWS Amazon cloud, and they are very cheap because you pay only for time your AI is being trained. Once the AI is trained, you can have it installed on your personal computer. If you never worked with AI before it might take you between one month to three months to learn how to do every by yourself on your personal computer and develop your own AI. Just expect to use platforms and plugins that are already made, because to create something like Pytorch yourself that needs a community of specialists, and neither chatgpt have their own platform they just use what's made already.
@Here_is_Waldo
@Here_is_Waldo Жыл бұрын
You can run something like KoboldAI or Oogabooga. Running them purely from your home PC obviously won't be as powerful as something running of billion dollar computer like ChatGPT, but these other versions are perfectly capable of holding (mostly) coherent conversations.
@ogogogog8807
@ogogogog8807 Жыл бұрын
Can you show me how to do that to my computer I'm willing to pay also??
@masterstrange9554
@masterstrange9554 Жыл бұрын
that how elite block you from growing
@bcnukenny
@bcnukenny Жыл бұрын
I tried this, I was using a Windows PC The first error I had was "You exceeded your current quota, please check your plan and billing details." I added my CC details to the API and gave them $5... The next error I had was "The specified device is not open or is not recognized by MCI" To fix this I found the new version of playsound didn't work so removed it and installed 1.2.2 pip uninstall playsound pip install playsound==1.2.2 Then I was able to hear the Voice. Note that from asking the question to getting a response was about 30-60 seconds. It does not do follow up questions but you can keep asking questions at any time. Until it stops answering.... and you have to reload the script. Overall a fun learning experience
@mattlantin4504
@mattlantin4504 Жыл бұрын
underrated comment. I also had to pay $5 :). And the current version of playsound is 1.3. Was fun indeed
@FarukKaraaslan-g8u
@FarukKaraaslan-g8u 8 ай бұрын
i couldn't install playsound. but i fixed it with "pip install playsound==1.2.2". thanks dude
@Rich_kid-a
@Rich_kid-a 2 ай бұрын
Same bro
@AccountabilityFit
@AccountabilityFit 2 ай бұрын
Update openai with a locally held GPT so it's free
@this-1-guy-lmao
@this-1-guy-lmao Жыл бұрын
You can simply determine ur mic with sr.Microphone().list_microphone_names(). You could also just write ur mic name into a var like mic_name = 'Mikrofon (NVIDIA Broadcast)' and set the mic index directly like mic_index = sr.Microphone().list_microphone_names().index(mic_name)
@christiancastro8931
@christiancastro8931 Жыл бұрын
The code is seemingly recognizing that I am speaking to it, but will not speak back and the terminal only says exception. Anyone else finding this error?
@nbow_ow
@nbow_ow Жыл бұрын
I am also having that issue, maybe its probably to do with the open ai part
@ryan_phdsec
@ryan_phdsec Жыл бұрын
Are you writing on kali linux or your host computer?
@ryan_phdsec
@ryan_phdsec Жыл бұрын
if you are using kali linux you may need to change the output settings manually
@p_mi1
@p_mi1 Жыл бұрын
same here, Im on Mac... what could be the issue?
@ilonwadominic8452
@ilonwadominic8452 Жыл бұрын
Same with me, I think the issue is with mac
@badrelkoudia2210
@badrelkoudia2210 Жыл бұрын
What if we want to connect it to a visual interface to optimize the conversation experience
@JoBricks99
@JoBricks99 11 ай бұрын
Great video! I did never do anything with python, but this video is really easy to understand.
@cy_wareye7395
@cy_wareye7395 Жыл бұрын
Definition of quality content.❤ Edit: Every single time i have no audio back, and the only response i get now is: "You exceeded your current quota, please check your plan and billing details." Any ideas :) ?
@bcnukenny
@bcnukenny Жыл бұрын
You need a Open AI API billing account, you will need a CC and you can put $5 on the account to get it up and running.
@torbilan6292
@torbilan6292 Жыл бұрын
yes, pay open ai.
@mohammadazmi5102
@mohammadazmi5102 Жыл бұрын
That simply means it is not your own assistant that we are searching for😂
@anv-xj2mg
@anv-xj2mg 10 ай бұрын
so now it wont work if i dont pay
@arcgamer_tv
@arcgamer_tv Жыл бұрын
FINALLY THIS ITS THE BEST ND ONLY VIDEO IT EXPLAIN WITH DETAILS ❤🎉🎉🎉THANK YOU ❤
@morganandrade7786
@morganandrade7786 Жыл бұрын
Have you experimented much with ElevenLabs in regards to this sort of thing? Wondering how easy it would be to combine. I'm trying to find an AI that'll let me set reminders and then specifically speak to me TO remind me, to jar me out of hyperfixation/help with memory issues.
@slinkybaton
@slinkybaton Жыл бұрын
Tell me if you find any news. I am seeking a similar AI tool that I can build that'll help me with my memory
@ryan_phdsec
@ryan_phdsec Жыл бұрын
If I were to do something like this I would probably use something like twilio or smtplib to send me a text or a email as a reminder... I would save my voice input in a variable and use os.system to create a file for the reminder... OR use an api to store my reminder and then then give a voice command (store it as a variable) for date and time to send me a text or email.
@mohdjekke
@mohdjekke Жыл бұрын
you can do that using the latest api of openai where you define the behavior and functionalities of the ai by writing an invisible system message. response = openai.ChatCompletion.create( model="gpt-3.5-turbo", messages=[ {"role": "system", "content": {"role": "system", "content": "You are a helpful assistant."}, {"role": "user", "content": user_input}, ] ) gpt_response = response['choices'][0]['message']['content'].strip()
@only1muppet
@only1muppet Жыл бұрын
Or try setting an alarm on your phone or PC
@Eternallymzx
@Eternallymzx Жыл бұрын
@@only1muppet that defeats the purpose of the ai
@Nerdtronic
@Nerdtronic Жыл бұрын
Will the prompt continue to have context of previous parts of the conversation? For example if I tell it my favorite color is blue. And then ask it a few other things and then ask what my favorite color is. Is each prompt isolated from the rest? That would be a great next step. You'd have to keep track of the conversation in a string and send that along with the new prompt. And then also make sure to truncate that log so that it doesn't exceed the token limit. Another mod would be to use the API to customize the personality of the bot.
@ryan_phdsec
@ryan_phdsec Жыл бұрын
You would need to set up the API for it to keep the context of the conversation...
@Nerdtronic
@Nerdtronic Жыл бұрын
@@ryan_phdsec do you simply set up the api to do that or do you have to submit the history as part of the prompt? Like is it just a switch to flip in the API?
@thomasbolton2121
@thomasbolton2121 Жыл бұрын
Can this be used on a phone with the app? I am wanting to make something like KITT on Knight Rider. I'll be using a Wireless mic connected under the hood (Similar to echo auto) to my phone so it can use the phones ChatGPT. Okay, so I currently have a 2016 Cadillac XTS that I have turned into Knight Riders KITT (Knightrider Cadillac on TikTok), I use echo auto but its so limited. I'd like to give it the ability to answer as something other then Alexa, and i'd like to give it some attitude. thx
@_v0id309
@_v0id309 Жыл бұрын
You are the best guy in whole KZbin lot's and lot's of love from India ❤❤❤
@ractor6175
@ractor6175 Жыл бұрын
Bhai bhai❤️✌️😂
@_v0id309
@_v0id309 Жыл бұрын
@@ractor6175 tari ksm bhai aisa bandey miltay nahi hain bohot talented h bnda ❤️
@saarza9991
@saarza9991 5 ай бұрын
​@@_v0id309 api use karke banaya h... Kya talent h 👏👏👏
@GeneralMingau
@GeneralMingau Күн бұрын
I have 2 questions, 1: does this cost anything at all? Like the API key or something And second: After i install the packages for pycharm, after i uninstall pychar, will it still be instaled on my pc?
@fitlikeaglove7396
@fitlikeaglove7396 Жыл бұрын
Any ideas on how to package this for deployment like a smart home speaker? Parts lists or anyone doing this commercially or simi commercially?
@lemicmelo7713
@lemicmelo7713 Жыл бұрын
Any suggestion on a bot to be develop to keep learning from a cloud documente? For example, if the user prompt new questions and the admin join the chat to answer, this answer could be sync on real-time to the bot similar as ChatGPT learn from your inputs? The purpose of this is to create a more specialized virtual assistant to suggest answers for customers
@tonyplayesgames5316
@tonyplayesgames5316 11 ай бұрын
Have u found anything yet lol I wanna add this too
@lemicmelo7713
@lemicmelo7713 11 ай бұрын
@@tonyplayesgames5316 I’ve learned so far using botpress to create this knowledge base chatbot, I think is possible to create a variables to add this new information added by the user so the bot can use this information in the future with new customers and so on
@johnpi2608
@johnpi2608 Жыл бұрын
Thanks for this, I was able to get mine to work. Now I'm trying to add skills to it
@bright0o018
@bright0o018 Жыл бұрын
yo is there been any improvements?
@vinayvm3284
@vinayvm3284 Жыл бұрын
Can you help me with it.? mine is not working
@PatientDare424
@PatientDare424 Жыл бұрын
So I'm not getting any audio to play out, just a message that says Exception: module 'openai' has no attribute 'ChatCompletion" what can I do to fix that?
@cipherTheMaverick
@cipherTheMaverick Жыл бұрын
In the terminal type “openai migrate”
@Raven-ol7nd
@Raven-ol7nd Жыл бұрын
I have a question, can i do this with another kind of voice?, like, a more human like voice?
@ronopalec5346
@ronopalec5346 11 ай бұрын
project name , do you replace whats already there? or do add your project name next to pythonProject?
@ifeanyimartins-udeze8899
@ifeanyimartins-udeze8899 Жыл бұрын
After installing the various pip packages, it still did not change and i was still having errors in the main.py code for the import pyaudio,playsound,gTTS,openai and speech_recognition. What do i do now?
@Drago_junior
@Drago_junior Жыл бұрын
i have the same problem did u fix it? if yes can you please tell me how
@clipspodcastsespana
@clipspodcastsespana Жыл бұрын
I have the same problem, did you fix it??@@Drago_junior
@mr.garciab
@mr.garciab 5 ай бұрын
Great video dude! Just wondering, can this be done as a Private AI assistant format as "Jarvis"?
@uvinduranga2896
@uvinduranga2896 Жыл бұрын
can we do this using arduino? i mean, connect it with chatgpt and make a personal assistant ? maybe plug a small screen too?
@mrwojna
@mrwojna Жыл бұрын
I want to build my own without using GPT. How difficult would that be? I have tons of GPUs from the Ethereum days. I can’t do the censorship with GPT. I need an “assistant” that isn’t regulated.
@DoodlesGamingWorld
@DoodlesGamingWorld 11 ай бұрын
Did you find a solution? I’m wondering the same thing
@mrwojna
@mrwojna 11 ай бұрын
@@DoodlesGamingWorld I’ve installed FreedomGPT and Stable Diffusion for images. FreedomGPT is processor dependent, the processor in my repurposed miner is insufficient. Once I upgrade the CPU I can give a better report.
@thatch8537
@thatch8537 Жыл бұрын
Can you add skills to it, or os this just a “my parameters dont allow it” overly fancy bs way to use gpt on an alternative software window?
@nukiplayz4811
@nukiplayz4811 Жыл бұрын
Is it possible to make the audio not from GTTS? a custom audio for example
@tester684
@tester684 Жыл бұрын
Yeah, example with elevenlabs
@coding32111
@coding32111 3 ай бұрын
Did you figure it out
@Vorkeg
@Vorkeg 6 ай бұрын
At 12:52 in July 2024. I can't seem it find the Documentation Tab anywhere. Could anyone help?
@faisaldurbaa7172
@faisaldurbaa7172 2 ай бұрын
I am getting this error: TypeError: 'fp' is not a file-like object or it does not take bytes: 'GenerateContentResponse' object has no attribute 'strip' can you please help?
@Mickeythepluds
@Mickeythepluds Жыл бұрын
Would there be a way to change the voice to something else other than the standard google TTS voice?
@obiomajronyekwere4469
@obiomajronyekwere4469 Жыл бұрын
Not without using an external library. There are some apis like elevan labs you could try
@Kalilinux1122
@Kalilinux1122 4 ай бұрын
Hi I was wondering if you can make this Chatgpt you just created to an app of anything shortcut???
@guilhermevinicius6007
@guilhermevinicius6007 Жыл бұрын
Ryan, its possible to use VSCode and use the Python extension to create this AI?
@ryan_phdsec
@ryan_phdsec Жыл бұрын
Yes. When originally created this it was on kali linux with vscode. However, it is possible you will have to install pip on your host computer.
@Onion_orbit
@Onion_orbit Жыл бұрын
Hello, Thanks for making this video. I copied your code from github, installed the packages, and ran the code. I can start the program by saying the word "Friday" and I can see it transcribed in the output, but couple seconds after that I am getting an error as "Exception". I double checked my API key and checked my Open AI account to see if it has been accessed. It says that the API key is not accessed ("never"). How can I fix this? Thanks!
@ryan_phdsec
@ryan_phdsec Жыл бұрын
This is going to sound really silly 🫣 But I have had this issue and I restarted my computer or Virtual Machine and it started working... If that does work I know a few people had to change Friday to something else... Just make sure to read the output of your word so you can make sure to change the if statement "if "Friday" in said:" to the new word.
@Celeste108butbetter
@Celeste108butbetter Жыл бұрын
@@ryan_phdsec Got the same error will try restarting thanks!
@Celeste108butbetter
@Celeste108butbetter Жыл бұрын
@@ryan_phdsec I restarted it but it didn't work I also changed Friday to Saturday it now gives me the second output that it sends to OpenAI but then just Exception
@ryan_phdsec
@ryan_phdsec Жыл бұрын
@@Celeste108butbetter check out the trouble shooting part of this video kzbin.info/www/bejne/onTaaHh9jJqCY9U
@heyiamuday
@heyiamuday Жыл бұрын
@@ryan_phdsec thank you
@adamkarberg2659
@adamkarberg2659 Жыл бұрын
didn't work for me it never understood when i said friday and when it did it didn't play any voice
@wolve2546
@wolve2546 11 ай бұрын
Same
@DebojitBera-ze9bg
@DebojitBera-ze9bg Жыл бұрын
Can we make the type of AI that can be really attached with my computer and my personal mobile phone , to use it in both of devices ( Android + Computer) that can assist me with my voice like Jarvis or FRIDAY ?
@DJSAM9
@DJSAM9 Жыл бұрын
what if I want to make my own custom voice or other voice as a assistant what i have to do ?
@ninjaman6723
@ninjaman6723 4 ай бұрын
it also doesnt let me download and use any of the gtts pyaudio playsound what do i do? it says there arent any modules in those names
@AdornYou.Jewelry
@AdornYou.Jewelry Жыл бұрын
I need help I keep getting this error when trying to install pyaudio No available formula with the name "pyaudio". Did you mean faudio? This is my first time ever even playing with codes. But I figure I better get ahead before im behind. You definitely do a good job at teaching so thank you. but please help
@ricardssencenko3209
@ricardssencenko3209 Жыл бұрын
Have the same issue... I installed the faudio that the terminal suggested but it does not let me import not pyaudio not faudio. Did you solve this? EDIT: I solved it - type "pip3 install pyaudio" - worked like a charm :)
@dariuszg.8026
@dariuszg.8026 Жыл бұрын
can I get the output voice that way that someone who Im talking to would hear that answer too?
@Celeste108butbetter
@Celeste108butbetter Жыл бұрын
Hi, so I have wanted to make a python AI assistant for quite some time now but I've never found a decent tutorial until this one I followed along with everything and was a bit disappointed when my code wasn't functioning as I had intended or in anyway as yours is but I thought it's okay as I am able to just copy your code directly but still it won't do anything it just keeps saying "Exception" I have no idea why
@ryan_phdsec
@ryan_phdsec Жыл бұрын
Check out the Trouble Shooting part of this video at the end kzbin.info/www/bejne/onTaaHh9jJqCY9U
@naman80067
@naman80067 Жыл бұрын
what's the error?
@mrjerry5499
@mrjerry5499 Жыл бұрын
I am having an issue the code is running and hearing my word perfectly but it's not responding to my question why?
@lakirajayamanne4004
@lakirajayamanne4004 Жыл бұрын
yo did u find a solution
@ernests3913
@ernests3913 Жыл бұрын
pov you learned more from one video then from eight years of school
@AdDiCtEdZ
@AdDiCtEdZ Жыл бұрын
homebrew error when trying A parameter cannot be found that matches parameter name 'fsSL'. At line:1 char:22 / The term '/bin/bash' is not recognized as the name of a cmdlet, function
@luigimiguelstamaria619
@luigimiguelstamaria619 11 ай бұрын
Ryan, why she didn't talk back? i already right the code correctly and test it without api but with other alternative codes, she talked, but if i input the api she did not answer, it seems i need to pay? is that what she want? do i need to pay using cc to activate her talkback? please enlighten me
@Ateamyeet
@Ateamyeet 6 ай бұрын
woman...
@CTHennebry
@CTHennebry Жыл бұрын
Are you able to incorporate this with an AI voice text to speech? Am AI voice that sounds more realistic?
@ryan_phdsec
@ryan_phdsec Жыл бұрын
you can make it more realistic if you pay for an api from a text to voice company
@edoardocasagrande7471
@edoardocasagrande7471 Жыл бұрын
Ehi i have a problem because on the terminal i can't find pip or pip3 and i have a different code line in the terminal compared to yours, how can i solve this?
@ryan_phdsec
@ryan_phdsec Жыл бұрын
That means you don't have python installed... if you install python you will have pip or pip3
@edoardocasagrande7471
@edoardocasagrande7471 Жыл бұрын
@@ryan_phdsec what python are you talking about? I installed the python software you talked earlier about, idk what else should i download?
@WheresTheFun
@WheresTheFun 3 ай бұрын
Can you make a ai that learns from the internet but is able to save information for when its not connected to the internet, if it could run from a micro pc like a rasbery pi with a stack of m.2 nvme ssd drives for memory. So you can keep using it haveing it for automation or just to give you information as needed. Maybe connect it to a bluetooth watch like a garmin mk3i (been looking at 1) and get it to tell you your heart rate and other ifo that would be handy to know.
@chethank8995
@chethank8995 Жыл бұрын
i am using pycharm professional 2022.2 and i am getting an error "ModuleNotFoundError: No module named 'speech_recognition'" even though i installed the package using "pip install SpeechRecognition" same error is ocurring can u pls debug this
@retrogamereaper
@retrogamereaper Жыл бұрын
Is there a way to wrap the project into a mobile app (preferably android) to have on the go?
@ryan_phdsec
@ryan_phdsec Жыл бұрын
yeah you can install Linux on your phone and transfer the program
@AzureVDI-bo3nl
@AzureVDI-bo3nl Жыл бұрын
Can I use Bard instead? What would I need to change in the script? And can you maybe make a part 2 to this video?
@naman80067
@naman80067 Жыл бұрын
bard is dumb, go with gpt
@BigirimanaDjabel
@BigirimanaDjabel 3 ай бұрын
Traceback (most recent call last): File "C:\Users\Admin\PycharmProjects\VoxServe\main.py", line 6, in from vosk import Model, KaldiRecognizer ImportError: cannot import name 'Model' from 'vosk' (unknown location)
@alakdan83
@alakdan83 Жыл бұрын
Hi Ryan, great video and tutorial! I'm trying to run the code but get the below error. WHy is this package being called and how do I resolve the issue? ImportError: cannot import name 'override' from 'typing_extensions' (C:\Users\foldername\anaconda3\lib\site-packages\typing_extensions.py)
@jonathangauthier1968
@jonathangauthier1968 Жыл бұрын
Hey everything work fine to me, but i cannot heat a single sound coming from it. Even delete mine and try your from Github and i can see it print message but I hear nothing. Any idea how to fix this ?
@marksawesomeadventures
@marksawesomeadventures Жыл бұрын
I think this is a Great First Project, now would it be Possible to use Replika's API instead of ChatGPT? And for all the Programmers out there, I am looking for an Interface I can Install on my Linux Desktop (ZORIN) That will allow me to Input a Picture for the Avatar, and it would make the Avatar Talk, and this Sits on the Desk Top and so I could Talk to my Computer STT/TTS and the Picture would talk back to me using Like Replika API instead of ChatGPT. Replika's Capabilities are much more Versatile than ChatGPT, ChatGPT has too many Restrictions on what you can and cannot say. Replika you can say anything you want. Also there are more and more AI Friends popping up on the Web, but none of them are making an Interface that Installs on your Computer and will actually Talk to you. Most of them are just Texting. So if someone was to Create an Interface that was Pre-Configured to Connect to Replika or any of the other AI Friends out there, I think it would be very Popular.
@timothyy7
@timothyy7 Жыл бұрын
i keep getting the exception error but i have no idea whats the issue
@Mechanicaa
@Mechanicaa Жыл бұрын
Thank you so much for the tutorial! Im almost done with mine, but it says " import openai ModuleNotFoundError: No module named 'openai'" when I try to run it, what should I do?
@obiomajronyekwere4469
@obiomajronyekwere4469 Жыл бұрын
Go to the terminal and run import openai in it
@obiomajronyekwere4469
@obiomajronyekwere4469 Жыл бұрын
If your using pycharms free community version there should the be package finder
@Dilinipun
@Dilinipun Жыл бұрын
i don't know why if i grab your code all the way to the pycharm and wen its run,but terminal shows expecting and if i say someting it did not speak back to me 😶
@andreagessner9199
@andreagessner9199 Жыл бұрын
Is there a way to make like an visual jarvis? Like the sphere, when it speaks it gets bigger and so on.
@erasec5088
@erasec5088 Жыл бұрын
I need to know a thing, how can I chaing the voice? For example whit the voice of, Idk, Madara? Kratos? Obama?
@thomas12690
@thomas12690 Жыл бұрын
Is there a way to teach it to complete tasks for you on your phone like open an app and do a task it’s seen you do or that you teach it?
@obiomajronyekwere4469
@obiomajronyekwere4469 Жыл бұрын
Not teach , more code. Ive made mine open a google chrome tab with a journey set towards a desired location.
@josejunior-e2q
@josejunior-e2q Жыл бұрын
mas, colocando o API da openai do chatgpt, oque for fazer utilizando essa API não vai ficar armazenado no banco de dados da OpenAI não?
@PlainJordan
@PlainJordan Жыл бұрын
all i ever did was just make Jarvis on my phone, ive almost perfected the talking to the AI part.
@davidjordan9365
@davidjordan9365 Жыл бұрын
Main, how have you done this? I'm in the process of trying to do that as well.
@PlainJordan
@PlainJordan Жыл бұрын
@@davidjordan9365 so far i’m using many apps and features on the iphone that will help me allow Jarvis talk on a daily basis like charging time and other stuff and so far i am working on saying “hey Jarvis for him to talk to mr”
@navnitsinha7259
@navnitsinha7259 Жыл бұрын
So, I am ready with the code but when I run it, it just shows me the path to the File. Any idea why?
@quezadonis9116
@quezadonis9116 Жыл бұрын
when i run the code it listens to me prints the audio aswell but i keep getting the "exception " how do i fix this please help
@wolve2546
@wolve2546 11 ай бұрын
You can chance the print command
@thepotatosandwich982
@thepotatosandwich982 Жыл бұрын
super confused looked over this video and notice that he makes corrections off screen but thought I had them all but mine doesnt respond to me it can hear me but has no reply help?
@waytopeace2703
@waytopeace2703 Жыл бұрын
Not sure all these errors mean but it’s working is the most software engineering thing to say 😂😂😂
@MrMwenesi
@MrMwenesi Жыл бұрын
Thanks for the tutorial. I'm having a problem installing playsound. " note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error". What could the problem be?
@robbieradium
@robbieradium Жыл бұрын
same
@cipherTheMaverick
@cipherTheMaverick Жыл бұрын
This should help: pip install --upgrade setuptools wheel
@cipherTheMaverick
@cipherTheMaverick Жыл бұрын
And then run “pip install playsound” again
@skesul
@skesul Жыл бұрын
@@cipherTheMaverick 🙏 thank you!
@tommedenney
@tommedenney Жыл бұрын
@@cipherTheMaverick thank you so mich
@monday304
@monday304 Жыл бұрын
how can you give it a 3d body and face that lip syncs the speech perfectly and also has accurate body language gestures?
@kirbyismygod8825
@kirbyismygod8825 Жыл бұрын
im not a 100% on this but you could likely use services VTubers use and connect it to the AI
@linguavoice
@linguavoice Жыл бұрын
What re the alternatives for Google TTS? I live in Russia. so it really sucks not having access to google cloud.. I try to learn many things but because of my location and nationality I can't do many things
@sahilkopardekar4423
@sahilkopardekar4423 Жыл бұрын
Its saying: File "[The File name here]", line 38 SyntaxError: expected 'except' or 'finally' block Process finished with exit code 1 what do I do in this case?
@sarthakbhujbal-zv4gl
@sarthakbhujbal-zv4gl 7 ай бұрын
bhai badhiya it was very helpfull
@az8142
@az8142 Жыл бұрын
@PhDSecurity Sir I have a question to you that is ❝don't we use it through mobile phone ❞
@ryan_phdsec
@ryan_phdsec Жыл бұрын
I wrote this script to work on computers or raspberry pi... I will look into running it on mobile... the issue with running this on mobile will be pyaudio
@az8142
@az8142 Жыл бұрын
@@ryan_phdsec Sir ! I need to talk with you about the whole matter . If you please don’t mine 🙏.
@az8142
@az8142 Жыл бұрын
@@ryan_phdsec Which way I can contact with you, Sir !
@adjeteyannang7228
@adjeteyannang7228 7 ай бұрын
when i run the code it only prints out what I say and "Exception"
@soyumapple7195
@soyumapple7195 Жыл бұрын
hi, i tried following the steps and it only shows the file path in the console. i changed the (device index) part to 1, 2 and deleting it entirely. all gave the same result. i copy pasted your code and it still gave the same result. is this an error or do i just have bad pronunciation and it is working?
@shoaibdalal4036
@shoaibdalal4036 Жыл бұрын
homebrew key i have copied and paste in code. but is it not recognised is coming. error is comig. so plz tell me what should i do.
@rambomahovac
@rambomahovac Жыл бұрын
Hi! When i run the code nothing happends PLEASE HELP 😁
@ryan_phdsec
@ryan_phdsec Жыл бұрын
What do you get in the console?
@Sam_Mascarenhas
@Sam_Mascarenhas Жыл бұрын
But after some days it requires payment to access that API key or some queries are free so something alternative options is there? Please make video on it
@AndreMaxP51
@AndreMaxP51 Жыл бұрын
Hi, on my code the import os, time and pyaudio are not highlighted. Alredy intall pyaudio and nothing, all the rest are ok. What I´m doing wrong? can you help me? Thanks.
@ryan_phdsec
@ryan_phdsec Жыл бұрын
if they are not highlighted or darker than the rest it means they are not being call properly or at all within the code
@AndreMaxP51
@AndreMaxP51 Жыл бұрын
@@ryan_phdsec I get this error on line 34 (PEP 8: E501 line too long (136 > 120 characters) from your Github code. I try to cut the sentence in half but no success. I try to find a solution in the web but nothing . Thanks.
@AndreMaxP51
@AndreMaxP51 Жыл бұрын
solve the problem on line 34, now still the import os, time and pyaudio
@svayamshah1761
@svayamshah1761 Ай бұрын
It is just listening and converting text-to-speech but i do not get any reply. Any solutions?
@idkwhyimhere.
@idkwhyimhere. Жыл бұрын
im getting an error saying: Traceback (most recent call last): File "C:\Users\Crims\PycharmProjects\darrenai\main.py", line 3, in import pyaudio ModuleNotFoundError: No module named 'pyaudio' how do i fix it?
@ryan_phdsec
@ryan_phdsec Жыл бұрын
You fix it by importing pyaudio... Try "pip install pyaudio" in a terminal... or just skip to the part of the video on installing modules and i walk you through it
@adrianmagana153
@adrianmagana153 8 ай бұрын
Homebrew link is not working, parameter cannot be found that matches parameter name 'fsSL' and '/bin/bash' not recognized. Please help!
@raaaas12345
@raaaas12345 Жыл бұрын
Hey Man I have a problem while running the code. It says: Traceback (most recent call last): File "C:\Users\ALEENA AZIZ\PycharmProjects\pythonProject7\main.py", line 21, in get_audio audio = r.listen(source) File "C:\Users\ALEENA AZIZ\anaconda3\lib\site-packages\speech_recognition\__init__.py", line 462, in listen assert source. stream is not None, "Audio source must be entered before listening, see the documentation for ``AudioSource``; are you using ``source`` outside of a ``with`` statement?" AssertionError: Audio source must be entered before listening, see documentation for ``AudioSource``; are you using ``source`` outside of a ``with`` statement? During the handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\ALEENA AZIZ\PycharmProjects\pythonProject7\main.py", line 51, in get_audio() File "C:\Users\ALEENA AZIZ\PycharmProjects\pythonProject7\main.py", line 20, in get_audio with sr.Microphone(device_index=1) as source: File "C:\Users\ALEENA AZIZ\anaconda3\lib\site-packages\speech_recognition\__init__.py", line 186, in __exit__ self. stream.close() AttributeError: 'NoneType' object has no attribute 'close'. What should I do to fix the problem?
@ryan_phdsec
@ryan_phdsec Жыл бұрын
Make sure that device_index=1 corresponds to the correct microphone you intend to use. If you have multiple microphones, you may need to try different indices to find the right one
@surendrakumarsahoo9878
@surendrakumarsahoo9878 Жыл бұрын
Hi, I am getting this error "def get_audio(): KeyboardInterrupt". Please help
@naNyxxZ
@naNyxxZ Жыл бұрын
hi there! Interesting video this seems a lot more straight forward than I thought. I got it to understand what I'm saying but I didn't hear anything playing back to me. Also wondering how we might be able to use a custom voice or something..
@bigtechhead
@bigtechhead Жыл бұрын
I have same issue :/. were you able to fix this?
@MarketingGuy024
@MarketingGuy024 Жыл бұрын
Same issue. It understands me... types it out, but there is no response...
@the_mr.duolingo
@the_mr.duolingo 9 ай бұрын
I was able to get it to make an MP3 file of it talking but can't actually hear the mp3 file
@imamethyx
@imamethyx Жыл бұрын
I run the code and I have no errors, but it just doesn't do anything at all. I have listed my device index and everything should be fine but still nothing... someone had the same issue?
@LikeWiseWisdomlikewisewisdom
@LikeWiseWisdomlikewisewisdom 4 ай бұрын
hello how are you im trying this out copy and paisted it from github but playsound doesn't work for some reason exit code 1 this error originates from sub process and is not likely pip raise os error could not get source code
@LikeWiseWisdomlikewisewisdom
@LikeWiseWisdomlikewisewisdom 4 ай бұрын
trying on both mac and windows but still nothing
@LikeWiseWisdomlikewisewisdom
@LikeWiseWisdomlikewisewisdom 4 ай бұрын
playsound three gets it to work but not with the ai speaking back it reads what I say but doesn't respond. i really like this concept it will be a great help with me and my mental disabilities and mental health issues I appreciate your time and effort on all of this
@athulkrishna.p.d903
@athulkrishna.p.d903 9 ай бұрын
Bro are this code voice asistence can work like when we ask like 'open you tube and play this video' is this query work?
@MzK-h
@MzK-h Жыл бұрын
can u use any python app or does it have to be pycharm
@optimusprime1634
@optimusprime1634 Жыл бұрын
when i run it it tells me "you exceeded your current quota, please check your plan and billing details"
@Bulut73
@Bulut73 3 ай бұрын
Can we use pyttsx3 rather than gTTs?
@DIMON13585
@DIMON13585 Жыл бұрын
Just created API and it says "You exceeded your current quota, please check your plan and billing details"
@ForIEqualsZero
@ForIEqualsZero Жыл бұрын
pls help! i always get this error: You exceeded your current quota, please check your plan and billing details.
@Prashant-ve1bf
@Prashant-ve1bf Жыл бұрын
Can you please turn it into a mobile applications or website
@arch.samertaleb
@arch.samertaleb 9 ай бұрын
I get the error AttributeError: module 'pkgutil' has no attribute 'ImpImporter'. Did you mean: 'zipimporter'? while trying to install the pip libraries on windows, apreciate the help
@DesertFernweh
@DesertFernweh Жыл бұрын
Is the speech recognition being processed locally or in the cloud?
@obiomajronyekwere4469
@obiomajronyekwere4469 Жыл бұрын
In the cloud. Both gpt and speech recog needs an internet connection to work
@okancan8191
@okancan8191 Жыл бұрын
hı ı have some ıssues with You exceeded your current quota is there a way to use it for free
@nikeshpatil2879
@nikeshpatil2879 Жыл бұрын
sir i am having an error of execption. for every input its showing exception
@Allfather4428
@Allfather4428 Жыл бұрын
whenever i speak to it it just says exception and doesnt talk and fixes
@TremellPittman
@TremellPittman Жыл бұрын
So I followed the directions, but no sound I get this Jarvis say hello say hello Exception Exception
Run your own AI (but private)
22:13
NetworkChuck
Рет қаралды 1,9 МЛН
How AIs, like ChatGPT, Learn
8:55
CGP Grey
Рет қаралды 10 МЛН
Caleb Pressley Shows TSA How It’s Done
0:28
Barstool Sports
Рет қаралды 60 МЛН
УЛИЧНЫЕ МУЗЫКАНТЫ В СОЧИ 🤘🏻
0:33
РОК ЗАВОД
Рет қаралды 7 МЛН
Thank you mommy 😊💝 #shorts
0:24
5-Minute Crafts HOUSE
Рет қаралды 33 МЛН
Counter-Strike 2 - Новый кс. Cтарый я
13:10
Marmok
Рет қаралды 2,8 МЛН
We made a REAL HOLOGRAM Desk like Tony Stark's!
23:57
Hacksmith Industries
Рет қаралды 8 МЛН
Creating J.A.R.V.I.S. powered by GROQ and Python
14:47
AI FOR DEVS
Рет қаралды 176 М.
Creating Jarvis powered by OpenAI and Python | ChatGPT
18:40
CS Coach
Рет қаралды 1 МЛН
I Built a Neural Network from Scratch
9:15
Green Code
Рет қаралды 554 М.
This free Chinese AI just crushed OpenAI's $200 o1 model...
4:41
Caleb Pressley Shows TSA How It’s Done
0:28
Barstool Sports
Рет қаралды 60 МЛН