Creating J.A.R.V.I.S. powered by GROQ and Python

  Рет қаралды 131,871

AI FOR DEVS

AI FOR DEVS

Ай бұрын

🔗 Source Code: www.skool.com/ai-for-devs/about
This Skool Community was launched yesterday, May 17th. Only the first 100 who join will receive free lifetime access. Later registration will require a monthly fee.

Пікірлер: 133
@danield9368
@danield9368 Ай бұрын
🎉 Thank you! Great job, you inspired me. I’ve subscribed to your channel now.
@222inverter
@222inverter 19 күн бұрын
this is great!...you explain it clearly and it's easy to understand as you go along!...thanks ...subbed!
@huzaifa_a4602
@huzaifa_a4602 25 күн бұрын
Awesome tutorial. Thank you. ♥
@Machiuka
@Machiuka Ай бұрын
Awesome tutorial. Thank you for sharing!
@mickelodiansurname9578
@mickelodiansurname9578 Ай бұрын
To be honest here I have absolutely no clue why it took YT so long to recommend this channel... the algo is losing its touch if you ask me. I get video about cats and stupid crap. Yet a coding channel, the content I watch several hours of a day while working... not so much! Jesus wept... rant over, subscribed.
@antaressas3260
@antaressas3260 7 сағат бұрын
The thing that makes me laugh in this video is seeing Adam Savage trying to remove the sheet by pushing it up from the front instead of pulling it from behind.
@JustLennyBenny
@JustLennyBenny 5 сағат бұрын
That is funny af XD From all people surely he would understand that concept >.>
@bosmantiberiu225
@bosmantiberiu225 24 күн бұрын
Oh wow, this tutorial is awesome! I will try it step by step :) Thank you!
@juliovac2113
@juliovac2113 Ай бұрын
wow man love how you explain. Subbed!
@matzcontreras
@matzcontreras Ай бұрын
thanks for sharing dear Sebastian!
@dfsed1057
@dfsed1057 Ай бұрын
Love this - I created this same project last year, but set it aside because of latency issues. I will see how grok changes the game now
@jnevercast
@jnevercast Ай бұрын
I find that GPT-3.5 has much better latency than GROQ. In my own voice assistant I use GPT-3.5 for most of the interactions and use OpenAI function calling to defer tasks to other models, for me that's just GPT-4, but it could be GROQ if the workload is large enough that speed is more important than latency
@neunmalelf
@neunmalelf Ай бұрын
Timing and Step by Step explanations = Well done! 👍
@ai-for-devs
@ai-for-devs 25 күн бұрын
Thanks a lot.
@KaradevNetLtd
@KaradevNetLtd Ай бұрын
can be this set on raspberry pi 4/5 and make with cpp/c#/php or any other then python/java/javascript ??? some language that all will can understand and can program it ?
@Blooper1980
@Blooper1980 Ай бұрын
Cool concept
@Makisb12
@Makisb12 Ай бұрын
It is amazing!
@starsoldier3643
@starsoldier3643 21 күн бұрын
You sir are a coding machine. Was a pleasure to watch a master such as yourself. Learning a little python myself.
@The1neo34
@The1neo34 3 күн бұрын
Hey! Where can I get a copy of the code for the web app? I saw the link to the course but just wondering if you provide a github repo for the youtube videos?
@johnnysim1985
@johnnysim1985 Ай бұрын
Awesome video! Is there a way to adjust settings in Groq to just answer the questions directly instead of adding friendly fluff? I'm following your example and everything works great, but I when returning the translations I get "Sure, here is a translation of promp_here in German:..."
@ai-for-devs
@ai-for-devs Ай бұрын
Glad you liked the video! To get direct answers without extra fluff, try adjusting your prompt to explicitly request a straightforward response: { "role": "system", "content": "Provide a concise, one-sentence answer without unnecessary details." }
@sebastiankuschmierz
@sebastiankuschmierz 25 күн бұрын
Klasse Video, sehr clean, auf den Punkt 🙂
@ai-for-devs
@ai-for-devs 18 күн бұрын
Danke Dir
@adityatiwari3646
@adityatiwari3646 19 күн бұрын
Just a question why you didnt used the pyttsx3 library for generating the reposnses and taking the user input in audio by pyttsx3 library . Using deepgram and making temporary files for the audio input and output , with interpreting can be a heavier task and make the respond slower than using pyttsx3 module for responses and output in audio format , without interpreting with temporary files. That will be more suitable ig , and make the program more faster .
@ai-for-devs
@ai-for-devs 18 күн бұрын
Great approach 🙌
@adityatiwari3646
@adityatiwari3646 19 күн бұрын
Thanks a lot sir finally get to know how basically a web application works in Full Stack , Thankyouu So much💌🌟
@ai-for-devs
@ai-for-devs 19 күн бұрын
... and you also have mastered the AI part. Congrats 🙂
@adityatiwari3646
@adityatiwari3646 19 күн бұрын
@@ai-for-devs Thanks to you!!...🙃
@patwaljee
@patwaljee 19 күн бұрын
Thank you
@PaulyWollyUTube
@PaulyWollyUTube 24 күн бұрын
I loved your video and was inspired. I wanted to get the code, so I joined... and you have some interesting courses, but I do not see J.A.R.V.I.S. anywhere on the site courses
@ai-for-devs
@ai-for-devs 24 күн бұрын
@PaulyWollyUTube You can find it here: www.ai-for-devs.com/products/real-time-ai-mastery-voice-smart-assistants
@sajjaddehghani8735
@sajjaddehghani8735 5 күн бұрын
Great tutorial. easy to understand and fast ,
@ai-for-devs
@ai-for-devs 4 күн бұрын
Thanks! I made sure to speed up the tutorial so you wouldn't fall asleep halfway through! 😄
@mathewlefebvre7335
@mathewlefebvre7335 4 күн бұрын
Awesome channel. Subbed!
@ai-for-devs
@ai-for-devs 4 күн бұрын
Thank you, Mathew! Welcome to the channel!
@-SomeWhereSomehow-
@-SomeWhereSomehow- 5 күн бұрын
I have built my personal AI Assistant using Neural AI and Chatterbot but this one is Amazing!
@ai-for-devs
@ai-for-devs 4 күн бұрын
Woah, that's cool! Thanks for checking out my AI assistant.
@-SomeWhereSomehow-
@-SomeWhereSomehow- 4 күн бұрын
@@ai-for-devs 😁 I will be building another one using this
@JulienReszka
@JulienReszka Ай бұрын
Which solution for tts and stt would you recommend ? What do you think about Whisper and WhisperSpeech ? Edit: I just tried Whisper, it works pretty well. Could save some stt money. Didn't figure out how to make WhisperSpeech work yet.
@ai-for-devs
@ai-for-devs Ай бұрын
That's pretty cool! Yes, you're on the right track. For both text-to-speech (TTS) and speech-to-text (STT), there are local alternatives that could replace cloud-based solutions, potentially saving costs in the long run.
@SkyVioletPanda
@SkyVioletPanda 18 күн бұрын
In your video at 08:38 you mention pasting the prepared code, for the index.html template but I'm not seeing where to get that code? Edit: Nvm. I'll just type it manually.
@ai-for-devs
@ai-for-devs 18 күн бұрын
www.ai-for-devs.com/pl/2148299694
@Undecentralized
@Undecentralized 11 күн бұрын
How close are we from having a Jarvis typw AI Assistamt that can be used from Computer to Smart Phone? It would seem like we would have had it by now with all the AI stuff coming out.
@ai-for-devs
@ai-for-devs 11 күн бұрын
Totally
@ntisithoj
@ntisithoj 25 күн бұрын
Excellent tutorial.... but am I missing something? You say "We paste the prepared code for the index page", but I do not see where this prepared code exists?
@ai-for-devs
@ai-for-devs 25 күн бұрын
This is a video from my platform, ai-for-devs.com. Each section includes a Download Section. However, you don’t need to join just to access the code; you can simply send me a PM on Discord at discord.gg/xPBHz9tP, and I’ll provide you with access to the source code.
@screamingiraffe
@screamingiraffe Ай бұрын
very nice, now create a self-contained version that doesn't rely on internet resources.
@ai-for-devs
@ai-for-devs Ай бұрын
Absolutely, that's a fantastic suggestion! Implementing a self-contained version using local language models for text-to-speech (T2S) and speech-to-text (S2T), along with integrating a Groq alternative like Mistral or Llama 2 with LM Studio or Ollama, could indeed run on my Mac Studio. However, achieving the same level of quality and performance might require a substantial investment in new GPUs.
@Bigtuna411
@Bigtuna411 19 күн бұрын
@@ai-for-devs Awesome video! WhisHper might be an option to keep things local. Online vendors that offer Privacy* are still hacked too often (see NordVPN). I'd rather run my own security than trust a third party to be meticulous and honest.
@SteelWolf13
@SteelWolf13 Ай бұрын
Nice. Lost me at using a wav file from a previous video since this was a new recommend channel.
@ai-for-devs
@ai-for-devs Ай бұрын
Sorry to hear that
@SteelWolf13
@SteelWolf13 Ай бұрын
@@ai-for-devs Just means I have to go watch that other video and see your take on it.
@ToolmakerOneNewsletter
@ToolmakerOneNewsletter Ай бұрын
So, can we use the GROQ "Jarvis" interface to access a real LLM like Claude 3 or GPT 4?
@ai-for-devs
@ai-for-devs Ай бұрын
Absolutely, the shown interface can be used with LLMs like Claude 3 or GPT-4. Just exchange the groq call to be a call to GPT or Claude.
@Cryptowski
@Cryptowski Ай бұрын
Vielen Dank ;)
@ai-for-devs
@ai-for-devs Ай бұрын
Bitte sehr! Es war mir ein Vergnügen.
@robertheinrich2994
@robertheinrich2994 Ай бұрын
it is a 314b model (certainly not a reference to pi) I would have a hard time to run it on my laptop using LMstudio, because of memory restrictions, whereas I can run llama2 70b, mixtral, miqu and other models on my CPU, and offload some parts to the GPU. and my laptop has a 7th gen i7 and a GTX 1070. it's not great, some tasks take up to half an hour. I would love a 70b version of groq.
@actuallyaceit
@actuallyaceit Ай бұрын
In this video he is using Groq's (with a Q) api. He is not running Twitter's recently open sourced model Grok (with a K) on his local machine. I was confused too when I first heard about Groq after only knowing about Grok.
@robertheinrich2994
@robertheinrich2994 Ай бұрын
@@actuallyaceit I know, but I would love to see a model by X that is 70b, so I can run it locally
@General_DDay
@General_DDay Ай бұрын
Excellent video. Can this be modified to have an avatar speak the answers when asked?
@ai-for-devs
@ai-for-devs 25 күн бұрын
Maybe with solutions like www.heygen.com/streaming-avatar. Let me check and come back with a new video ;-)
@alitomix
@alitomix 9 күн бұрын
Do I need to install llama on my pc? or it runs a llama image from groq?
@ai-for-devs
@ai-for-devs 4 күн бұрын
You don't need to install LLaMA on your PC; it runs a LLaMA directly on Groq.
@XaljakalX
@XaljakalX 4 күн бұрын
anyone can find the index html code anywhere?
@eointolster
@eointolster Ай бұрын
Not sure if you’d find it useful but I’ve made something similar but much slower using anthropic with function calls. I use eleven labs at the moment but after your video seriously looking at groq.
@bradleybrown8428
@bradleybrown8428 Ай бұрын
Really? I've just skimmed this video but I know 11labs has much better voices.
@eointolster
@eointolster Ай бұрын
@@bradleybrown8428 elevenlabs has much better voices but slower response
@lionlight9514
@lionlight9514 Ай бұрын
This is really cool, can you buy a groq chip yet?
@ai-for-devs
@ai-for-devs Ай бұрын
Currently, the pricing for Groq's cards is around $20,000 each. Given this price point, direct purchase and deployment of Groq hardware might be a significant investment 😅
@kamalkamals
@kamalkamals 25 күн бұрын
the question here is why exactly deepgram instead other solution ?? and why not choose a free package like fast-whisper ?
@ai-for-devs
@ai-for-devs 25 күн бұрын
Great question! Choosing between Deepgram and solutions like Fast Whisper often comes down to specific needs and preferences. While Deepgram is renowned for its high speed, making it one of the fastest solutions currently available, it's true that free alternatives like Fast Whisper can be very appealing, especially for those on a budget or with less urgent speed requirements. Each option has its strengths, and there's no one-size-fits-all answer.
@kamalkamals
@kamalkamals 25 күн бұрын
@@ai-for-devs thank u for this clarification and i can add deepgram not support all languages.
@xxmarissxx7690
@xxmarissxx7690 6 күн бұрын
is it possible to use this code on a raspberry pi with an ALU core without the need for an internet connection??
@ai-for-devs
@ai-for-devs 4 күн бұрын
It's probably possible to generate similar answers, but not with the same inference speed.
@Atanepes
@Atanepes 22 күн бұрын
Hello I am programmer too I and I am learning Web Development and i got your video after 4 weeks I subsed your channel. and is there already code and how to start?
@ai-for-devs
@ai-for-devs 18 күн бұрын
🙏 On ai-for-devs.com we have an AI Fundamentals Course.
@ginkhoba
@ginkhoba Ай бұрын
Danke. Auch native-speaker ;-)
@ai-for-devs
@ai-for-devs Ай бұрын
Bitte sehr!
@RealLexable
@RealLexable Ай бұрын
Erkennt es also auch automatisch deutsch eingesprochene Sprache?
@ai-for-devs
@ai-for-devs Ай бұрын
Das sollte grundsätzlich möglich sein. Ich würde den prompt noch entsprechend anpassen, dass die Ausgabe auch auf Deutsch erfolgt.
@3-deez
@3-deez Ай бұрын
I have paid for a membership but cannot find where I get the github access and discord as well as the extra video lessons, please help
@ai-for-devs
@ai-for-devs Ай бұрын
Please send a short email to sebastian@ai-for-devs.com to receive your Discord invitation. Additionally, include your GitHub username in the email to secure access to the ai-for-devs GitHub organization. We look forward to your participation.
@3-deez
@3-deez Ай бұрын
@@ai-for-devs Thanks, have done so and look forward to participating
@physicsguybrian
@physicsguybrian Ай бұрын
Where is the beautiful woman from the thumbnail? She is the Jarvis we all need!
@ai-for-devs
@ai-for-devs 25 күн бұрын
Maybe she could indeed be the avatar for J.A.R.V.I.S. in the next video! Who knows, it might just bring a whole new level of charm and interaction to our AI assistant!
@undeadgaming2102
@undeadgaming2102 Ай бұрын
Hello sir i want to ask that it can only chat. I want to make it so that it can access current information, open apps, surf web, cpature screenshot and analyze it and may more how can we do it please help.
@ai-for-devs
@ai-for-devs Ай бұрын
To expand the AI's abilities to include real-time information access, app interactions, web surfing, and image analysis, you can leverage Groq's function calling capability together with other LMs. We have built something similar (with GPT instead of Groq) in the past. Have a look at kzfaq.info/get/bejne/jrB0l92orZymgqM.html
@undeadgaming2102
@undeadgaming2102 Ай бұрын
@@ai-for-devs thanks for the reply and information
@timothymaggenti717
@timothymaggenti717 Ай бұрын
Wow your source code of 28 lines is amazing, I will not be using it, thanks
@adityatiwari3646
@adityatiwari3646 19 күн бұрын
the command "export DG_API_KEY={key}" this is the command for mac , i tried "stex DG_API_KEY {key}" and also tried "ste DG_API_KEY={key}" after both the commands to i got the same "Exception: DeepgramApiError: Invalid credentials. (Status: 401)" Error i tried searching solution but didn't got , how to solve this one?i have made the api key as a member also but still facing this error.......
@ai-for-devs
@ai-for-devs 19 күн бұрын
Please try first to set the key directly in the code. If this works you know that the key is correct.
@adityatiwari3646
@adityatiwari3646 19 күн бұрын
@@ai-for-devs Yea i tried doing manually in the code first still getting the same error then i tried doing manually in environment variable by creating a new one and setting up the API Key manually there the issue solved!!....
@cristianscl
@cristianscl 14 күн бұрын
you mean you write the api letter by letter insteead of copyng and paste?@@adityatiwari3646
@merion297
@merion297 26 күн бұрын
Ah, too bad they don't have a Hungarian Text2Speech model. I hope they'll make it soon. :(
@ai-for-devs
@ai-for-devs 25 күн бұрын
Oh, that's unfortunate. I know that Fast Whisper supports Hungarian, which might be useful for you. You can find more details here: replicate.com/vaibhavs10/incredibly-fast-whisper. We have used it in kzfaq.info/get/bejne/eKieiqip2bjIZHU.html
@merion297
@merion297 25 күн бұрын
@@ai-for-devs Thank you so much! :)
@georgemontgomery1892
@georgemontgomery1892 6 күн бұрын
Nah, If it doesn't sound like Paul Bettany, I don't want it.
@ai-for-devs
@ai-for-devs 4 күн бұрын
In that case, we'll need to utilize ElevenLabs instead of Deepgram. 😉
@georgemontgomery1892
@georgemontgomery1892 4 күн бұрын
@@ai-for-devs Do it
@SkyVioletPanda
@SkyVioletPanda 18 күн бұрын
PROBLEM: I seem to keep getting the same error: "Exception: DeepgramApiError: Invalid credentials. (Status: 401)". I tried to create a new key and still got the same error. The variable definitely exists in my environment (Had to manually create the variable using "conda env config vars set my_var=value" since I use conda to manage my virtual envs). SOLUTION: I ended up creating a '.env' file and setting the API key in there (DG_API_KEY="keyValue"). For conda users, I installed dotenv using "conda install -c conda-forge python-dotenv" . Seemed to work that way. I decided to just comment this in case anyone runs into the same errors as I did. BTW, 'export' is for mac users, for windows users use 'set'. If your using conda like me, to set a variable in the environment use "conda env config vars set my_var=value" and then restart the environment.
@ai-for-devs
@ai-for-devs 18 күн бұрын
Have you tried to set the key directly in the code?
@cristianscl
@cristianscl 14 күн бұрын
hI, IVE GOT THE same problem, generating key is now different from the video because of the permissions, have you solve it? if yes, please tell me. thank you
@superfliping
@superfliping 11 күн бұрын
Whats next, show your skills? 1. CodeCraft Duel: Super Agent Showdown 2. Pixel Pioneers: Super Agent AI Clash 3. Digital Duel: LLM Super Agents Battle 4. Byte Battle Royale: Dueling LLM Agents 5. AI Code Clash: Super Agent Showdown 6. CodeCraft Combat: Super Agent Edition 7. Digital Duel: Super Agent AI Battle 8. Pixel Pioneers: LLM Super Agent Showdown 9. Byte Battle Royale: Super Agent AI Combat 10. AI Code Clash: Dueling Super Agents Edition
@ai-for-devs
@ai-for-devs 11 күн бұрын
I have more terminator vision in mind. Stay tuned.
@darkreader01
@darkreader01 Ай бұрын
Clicking a button to record and stop recording does not feel like JARVIS. It would be more real if it was in terminal and the audio is processed in realtime without the need of clicking any button.
@ai-for-devs
@ai-for-devs Ай бұрын
I concur. My initial implementation was designed to listen for any sounds exceeding a predefined threshold, rather than requiring a manual button press. However,I aimed to keep the code as straightforward as possible. I'll be sharing the alternative JS source code on ai-for-devs.com.
@roody_io
@roody_io Ай бұрын
@@ai-for-devsthis could probably be embedded into an alexa echo skill or other assistant platforms without too much trouble i imagine. figure out a good function library or or agent framework.. now were cooking
@LandonShipman-iDzynes
@LandonShipman-iDzynes Ай бұрын
this is EXACTLY what I have been waiting to do for a year now! @@roody_io - reply back if you figured this out already!
@mrboltik6503
@mrboltik6503 Ай бұрын
​@ai-for-devs You can implement wake word library like hey siri by using porcupine by picovoice for example
@Bielzin-te8on
@Bielzin-te8on 7 күн бұрын
I made a program in python which does it. It records in real time using pyaudio and recorder, then I when silence threshold is achieved it starts recording till the volume gets above threshold, then it converts to text using STT and I receive a answer using GPT-2 model from huggingface. The UI is a 3D brain(mesh to points) using vtk embbed with python code so when the user is speaking the points which make the brain start color changing according to CHUNK audio times a constant to alter the shaders of each point in perspective. I use GPT-2 because my computer is old and only has CPU, I already made it an APK but I haven't uploaded it in Github
@g.s.3389
@g.s.3389 Ай бұрын
you do not need deepgram... you can install and use speech_recognition and with a bit of python you do not need any button but you can interact directly with any ollama model... at the same time once you get an answer you can use text2 speech which in instegrate in any linux/mac machine which is "SAY"... might not be amazing but not very different from what you got..... so at the and no money spent in on-line services and with ollama on your PC you have everything on your pc, zero money...
@skaus123
@skaus123 Ай бұрын
yes ,i agree too. beeing independant of any third party online services for tts or stt is more important even if it means a littler more code involved.
@ai-for-devs
@ai-for-devs Ай бұрын
Absolutely. While we've explored various alternatives to Deepgram (see our last videos), its simplicity and speed were key reasons for its inclusion in the tutorial. As you've insightfully noted, the beauty of technology, much like Lego, lies in its modularity and the freedom it offers to interchange components.
@greatjobbuddy
@greatjobbuddy Ай бұрын
I think he's just trying to educate on the service and what you can do with it as an example. He's not saying it's the best way or only way to do it. I get what you're saying, but why don't you create a video tutorial and I swear to god I'll watch it because all these tools are good to know in your tool belt and so is doing it as you mentioned. So go make a video so I can do it too!
@vaibhavsingh8122
@vaibhavsingh8122 Ай бұрын
But look at the size of the cotton. Isn't it cheating ?
@nokturnihs
@nokturnihs 5 күн бұрын
Not very secure... Still decent for a tutorial!
@ai-for-devs
@ai-for-devs 4 күн бұрын
I agree! In a production environment, it's crucial to spend much more time on hardening security.
@david_6220
@david_6220 Ай бұрын
Aber die Übersetzung ins Deutsche war überhaupt nicht korrekt.
@ai-for-devs
@ai-for-devs 25 күн бұрын
Die Betonung war nicht ganz sauber, aber "This is a test" => "Das ist ein Test" sollte doch eigentlich passen?
@squiddymute
@squiddymute Ай бұрын
deepgram is not free forever however
@ai-for-devs
@ai-for-devs Ай бұрын
Indeed, Deepgram isn't free indefinitely. It offers robust features for speech-to-text and text-to-speech conversion, making it a valuable tool, but its cost becomes a factor for long-term use.
@squiddymute
@squiddymute Ай бұрын
@@ai-for-devs i have the impression your replies are generated automatically by an LLM 🤣
@ai-for-devs
@ai-for-devs Ай бұрын
Sure, a real human would not work on Sunday.
@camyllo_7084
@camyllo_7084 Ай бұрын
para @raquel #familia porcides
Run your own AI (but private)
22:13
NetworkChuck
Рет қаралды 1 МЛН
О, сосисочки! (Или корейская уличная еда?)
00:32
Кушать Хочу
Рет қаралды 5 МЛН
顔面水槽がブサイク過ぎるwwwww
00:58
はじめしゃちょー(hajime)
Рет қаралды 105 МЛН
didn't want to let me in #tiktok
00:20
Анастасия Тарасова
Рет қаралды 11 МЛН
You’ve Never Seen WiFi Like This
20:43
Data Slayer
Рет қаралды 420 М.
26 Incredible Use Cases for the New GPT-4o
21:58
The AI Advantage
Рет қаралды 204 М.
Building the first J.A.R.V.I.S LLM out there
7:53
CodewithBro
Рет қаралды 275
Hitman 3 Developers React to 6 SECOND Speedrun (And More)
16:52
host ALL your AI locally
24:20
NetworkChuck
Рет қаралды 504 М.
AI Learns Insane Monopoly Strategies
11:30
b2studios
Рет қаралды 10 МЛН
Making a Game in Python with No Experience
5:57
Goodgis
Рет қаралды 1,5 МЛН
How I Made AI Assistants Do My Work For Me: CrewAI
19:21
Maya Akim
Рет қаралды 657 М.
Bringing GLaDOS to life with Robotics and AI
13:04
Dave's Armoury
Рет қаралды 682 М.
С Какой Высоты Разобьётся NOKIA3310 ?!😳
0:43
How much charging is in your phone right now? 📱➡️ 🔋VS 🪫
0:11
Samsung or iPhone
0:19
rishton vines😇
Рет қаралды 6 МЛН
Вы поможете украсть ваш iPhone
0:56
Romancev768
Рет қаралды 609 М.
What’s your charging level??
0:14
Татьяна Дука
Рет қаралды 787 М.