Python AI Voice Assistant & Agent - Full Tutorial

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

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

  • @TechWithTim
    @TechWithTim  2 месяца назад +19

    What kind of voice assistant do you want to make?

    • @UlanKurmanbekov
      @UlanKurmanbekov 2 месяца назад +8

      J.A.R.V.I.S.

    • @ai_backend
      @ai_backend 2 месяца назад +1

      ​@@UlanKurmanbekov ULTRON?

    • @andyeme1109
      @andyeme1109 2 месяца назад +6

      For a few year's I have been thinking about making a voice assistant / virtual assistant which you can call and have it answer F.A.Q.'s about a subject. For example a plumbing company would host this voice assistant using a dedicated phone number (through Twilio or similar service) and customers can call to get minor issues resolved. Ideally it would also be able to book appointments and answer billing questions etc.. If you can make a simple version of this it would be super useful.
      Love your content Tim! been watching you for many years

    • @TheGamer_youtuber
      @TheGamer_youtuber 2 месяца назад +2

      Can we use local Ollama LLMs to power our AI assistant?

    • @jangleegamer_yt6326
      @jangleegamer_yt6326 2 месяца назад

      PIP ❌ UV ✅

  • @useronetwothree-z6f
    @useronetwothree-z6f 2 месяца назад +23

    best developer, best youtuber, best programmer, best explainer.

  • @edersonoliveiradasilva6817
    @edersonoliveiradasilva6817 15 дней назад +1

    Hi Tim!!! I´m a Brazilian and you inspired me in the Python's world, I work in the Oil and Gas Industry already for some years and I had already condition to apply part of the knowledge obtained in programming to improve the process and the safety on board of huge FPSOs (Floating Production, Storage and Offloading Vessels which operate far from the coast, in the middle of the ocean, and require a high level of technology). Currenty I´m in Singapore working in huge and new projects for Shell, Exon-Mobil and Equinor, preparing the Ships to operate in Brazil, Mexico and Guiana. It´s incredible how many things we can do when we have the programming fundamental. This changed my life completely!!! You are the best my friend!!! Please, continue inspiring others with your precious information.Thanks for your excellent videos.

    • @victoroliveira7684
      @victoroliveira7684 7 дней назад

      Fala Ederson, beleza? Cara, também atuo no ramo de oil e gas aqui no Brasil, tu poderia me passar teu linkedin pra tirar algumas dúvidas de como você evoluiu na carreira sendo que nossa área tem pouca prospecção para tecnologia?

  • @lukmonabdulsalam
    @lukmonabdulsalam 2 месяца назад +24

    bro you are literally the best developer i have ever seen

  • @Just_A_Tech.._
    @Just_A_Tech.._ 2 месяца назад +6

    Awesome Tim👏👏
    Your voice plays in my head while awake and in my sleep because I follow along on CourseCareers as well.
    Many thanks for being always clear.💯🤝

  • @Luiblonc
    @Luiblonc Месяц назад +3

    Hi Tim, nice video, and nicely explained. Even for those who have never delved into Python, you break in down nicely. I’ve came into python back from when it was still under the radar before AI or LLMs were not on our road map. Another thing that you should include in your video is the network devices that communicate with your ChatBot, ie sensors or network switch box’s etc. Thanks for sharing your video.

  • @davidtindell950
    @davidtindell950 2 месяца назад +5

    Thank You. I am currently investigating a "Python AI voice assistant " for a "speech impaired" friend.

  • @TheDailyMemesShow
    @TheDailyMemesShow 24 дня назад

    Maaaaaan! You saved me from the headache!
    I was looking for that project's name - I tried a live demo before, and I liked it, but I missed the bookmark, thanks 👍 Subscribed, by the way 😊

  • @seanolivas9148
    @seanolivas9148 2 месяца назад +3

    You have talent. Do you think you could make a video on having live word prompting for sales calls? E.g. someone says I’m not interest, goes to vector database to pull from knowledge base for a rebuttal

  • @davidconteh2231
    @davidconteh2231 21 день назад +2

    This is the best video. Exactly what I was looking for

  • @OfficialVaroxCraft
    @OfficialVaroxCraft 2 месяца назад +2

    best video of all time didnt even explained how you setup your visual studio code top of the line content and than this awkward startig "that you are the best tech youtuber" :D would be nice to know where to paste the first line to install python do i need a wsl terminal or WHICH KIND?!?!??!?!? the promt python -m venv ai dosnt work cuz some people install visual studio code for the first time and didnt know if they have the right terminal to paste the prompt

  • @Ayyubzee
    @Ayyubzee 2 месяца назад +2

    Subscribed to your channel recently but man am i in love with your content

  • @NathanLoboOfficial
    @NathanLoboOfficial 2 месяца назад +2

    Seriously! Thanks so much!!! I've been wait for a tutorial like this.

  • @smallhat1
    @smallhat1 2 месяца назад +3

    I’m going to make it and if it works I will like ever video you make for a year cuz I have been looking for this for 2 years

  • @voncolborn9437
    @voncolborn9437 2 месяца назад

    YAGV - Thanks Tim, for yet another great video. I always learn a lot. By showing the process (both mental and developmental) that you go through, you convey a lot of subbtle hints, in addition to the primary subject.

  • @princekhatri88
    @princekhatri88 2 месяца назад +15

    Buddy wow i am quick in 19 minutes now i don't know what time i am commenting at but i came at 19 minutes ago.

  • @akhenatontubba9950
    @akhenatontubba9950 Месяц назад

    Mükemmel ve kaliteli bir içerik... kanalınızı yeni keşfettim.manuel olarak altyazı eklediğiniz için otomatik çeviri ile videonuzu izleyebildim. lütfen diger iceriklerinizde de manuel altyazi ekleyiniz. otomatik çeviri ile başka dillerde izlenebilir ve daha geniş kitlelere ulaşabilirsiniz...

  • @nassosdimou3337
    @nassosdimou3337 2 месяца назад +1

    Will you do mojo tutorials in the future? Also greate tutorial, your channel truly is one of the best programming youtube channels.

  • @AnishKM-k8o
    @AnishKM-k8o 2 месяца назад +3

    bro the video is so cool can you suggest me like how do we do this via hugging face or the ollama

  • @miguelcabaero5843
    @miguelcabaero5843 2 месяца назад +3

    Nice bro imma make jarvis fr

  • @calvo_en_moto
    @calvo_en_moto Месяц назад

    Hello Tim, beautiful an useful video as usual, thanks =)
    I like to ask, what plugins are you using in your visual studio, looks great.
    Thanks again, regards from Chile.

  • @zeusco1588
    @zeusco1588 2 месяца назад

    Currently building a similar project, Jervis 😊

  • @josephmyalla3611
    @josephmyalla3611 2 месяца назад

    As always great content. Can you provide more content using open source llms please?

  • @ChristophHams
    @ChristophHams 2 месяца назад +3

    What is the approach to build such AI assistant in Dart/Flutter? Do I have to run the python code inside Dart by setting up a server?

  • @muhammadfadhilamri5621
    @muhammadfadhilamri5621 Месяц назад

    It was an impressive video!! Thank you so much

  • @eggsandbrioche
    @eggsandbrioche Месяц назад +1

    Thanks for the tutorial!
    I'm making a Corinthian Helmet with a built-in AI of Athena and Ares. Is it possible to use two separate AI personalities in one playground?

  • @oussamajmaa9205
    @oussamajmaa9205 22 дня назад

    nice tutorial ! is there a way to use livekit without their frontend and use only python , for example reading voice with pyaudio and pass that into their stt and tts agents ?

  • @StephenPaolicelli
    @StephenPaolicelli 2 месяца назад +1

    Great video, I will subscribe and look forward to seeing your other videos. Tried to follow along on this video but ran into a problem in the playground. "agent connected" - does not connect, just spins then ends up False. I will try to figure it out but want to ask this question in your comments section. Would appreciate any help. Thanks,

  • @CreepyFilmz
    @CreepyFilmz 9 дней назад

    Impress us all and make a gemini live like mobile app. Basically your own voice chatbot.

  • @VaibhavShewale
    @VaibhavShewale 2 месяца назад +1

    wait, maybe i can used this for interviews!
    hehe

  • @NasserTabook
    @NasserTabook 2 месяца назад

    Excellent tutorial,thank you, please can we use
    Agentic RAG with LiveKit,

  • @freeabt9916
    @freeabt9916 2 месяца назад

    it is really nice, thanks a lot. How would you do the exact same but with your own UI instaed of the one provided by liveKit? maybe add a part using react, FastAPI?

  • @prodigy4836
    @prodigy4836 Месяц назад +1

    Hey Tim, Thank you for this video!
    Question -> what if i don't want to manually connect and reconnect using the livekit UI? I want something like...i run my python program and it starts running and i just have to speak in my mic locally. Is that possible?

  • @Sachin-ww1ej
    @Sachin-ww1ej 27 дней назад +2

    Hey, I really need some help! We’re working on a project with a tight deadline next week, but we keep running into an error saying the OpenAI limit has been reached. It’s really holding us back! If anyone has tips on how to resolve this quickly, it would be a lifesaver.
    Also, we're looking to add video functions to our project. Any suggestions would be hugely appreciated! Thanks in advance!

  • @usmanyousaf-i2i
    @usmanyousaf-i2i Месяц назад +1

    kindly when you use open api tell us the pipe line in detail like how to use it with free models 🙏

  • @narcospro7797
    @narcospro7797 2 месяца назад

    Bro you are the best in the world ah one time please may you make voice assistant for us please by train your modal and use your audio datasets

  • @AdarshSingh-qy6mt
    @AdarshSingh-qy6mt 2 месяца назад

    Thanks man, it really solved my problem. Kinda simple advice but effective.
    Actually I was doing a project on Steamlit, it was about stock predictions, it fully visualised the data.
    But it used an old module that took data of the stocks that was the error.

  • @FabricioMTL
    @FabricioMTL 27 дней назад

    can you make a tutorial on self host mode , it will be cool as well

  • @starnine-b6b
    @starnine-b6b Месяц назад

    Upload a video on how to customize the frontend like video calling app.

  • @martcologne7320
    @martcologne7320 Месяц назад

    Thx for the good content. Can somebody give me an information how to deploy the agent so that a chatapp can connect to the agent > NOT local!

  • @SoulSeeker
    @SoulSeeker Месяц назад

    Did I miss something here, what is it connecti g to to actually change the temperature? Is it some sort of IoT or what? I got confused at some point. Also how do you get it on your phone?

  • @RaghavKumarR
    @RaghavKumarR 2 месяца назад +1

    Bro how do you read my mind? im literally working on the same damn thing using groq and ollama

  • @Warley.Araujo
    @Warley.Araujo 2 месяца назад

    Great Video

  • @BeinspiredbyN8ture
    @BeinspiredbyN8ture 2 месяца назад

    Can you make an AI Voice Assistant for a wordpress website, that was feeded with the website and pdfs?

  • @musicon1636
    @musicon1636 Месяц назад +1

    actually I'm doing this project guided by your video , now facing an error please make clear

  • @mystealthlife6991
    @mystealthlife6991 Месяц назад +1

    How would I make this work with self hosted?

  • @some_07
    @some_07 12 дней назад

    hey Tim, can this assignment work on our voice commands. like if we said open Google so can it be,???

  • @vitchenzopenas5156
    @vitchenzopenas5156 Месяц назад

    Hey, thank you for the video! I need some help.
    I'm making an assistant for accessibility, and I want the agent to respond when the user calls it by name (only when the user calls it by name).
    How can I do this?

  • @MarlonSalewski
    @MarlonSalewski 2 месяца назад +1

    Is there any way to update an old google nest to something like this?

  • @Migueldicostanzo
    @Migueldicostanzo 14 дней назад

    Great Video , Question how can you ad an avatar , so let say i want and to build a Friend assistant hero but i want to talk to the hero in my phone screen . Can you please guide me ? Thank you

  • @Mustang_G
    @Mustang_G 2 месяца назад +1

    Not sure why I'm getting error, unable to create directory

  • @Vedant-z9y
    @Vedant-z9y 2 месяца назад

    Everything's great but
    Whenever I see that thumbnail I don't know why but instead of Hi Tim I always read it it Hit Tim

  • @Sachin-ww1ej
    @Sachin-ww1ej 27 дней назад +1

    Hello we did everything and there are no errors but in the end when we talk it says something about open ai limit reached or something and we can't seem to connect we rlky need this , we have a deadline coming up next week and this is inactive for it , if this works we can make our own version of this and we rely like how it turned out so far , also pls tell us how to add video functions to this, pls reply fast

    • @oprix8910
      @oprix8910 24 дня назад

      The limit is reached because OpenAi requires you to pay per use. You only get a free option for the first 3 months of usage of your account, but I suppose you have created your account long ago and that does not work anymore. If you want to fix that you could either add your card information and add like 2e, or something like that, or use Ollama locally. Tim also has a video about using Ollama locally ("AI WebScrapper").

  • @flmn7866
    @flmn7866 23 дня назад

    🐐Behavior

  • @LiQuiDPlays69
    @LiQuiDPlays69 Месяц назад +2

    can anyone help me I finished the whole video nad my assistant is not working at all
    i tried copying his code with my own keys and secrets but it still is not working
    \

    • @TechWithTim
      @TechWithTim  Месяц назад +3

      What kind of error are you getting?

    • @eggsandbrioche
      @eggsandbrioche Месяц назад +2

      @@TechWithTim I'm getting a Value Error, "ValueError: api_key is required, or add LIVEKIT_API_KEY in your environment"

    • @kingneptune2295
      @kingneptune2295 25 дней назад

      @@eggsandbrioche you ever fix this? im getting the same error

  • @mazharulislamleon8672
    @mazharulislamleon8672 20 дней назад

    How do I connect knowledge base I mean RAG to livekits voice agents, In my cases I wanted to add more than 50 pdf files. Could you please provide some information regarding this topic ?

  • @sabbirhossan3499
    @sabbirhossan3499 2 месяца назад +1

    I want to build it with my custom voice, but I don't know how ?

  • @AIWALABRO
    @AIWALABRO 2 месяца назад +1

    can we create voice assistant for SQL queries , i gives the input via voice commands and it will be generate the dashboard or visualization for us. or gives the table from the database. can we get videos on this topic? eagerly waiting !

    • @TechWithTim
      @TechWithTim  2 месяца назад +1

      Sure you can! You can simply ask the model for a query and then connect it to the database and show the result

    • @AIWALABRO
      @AIWALABRO 2 месяца назад

      @@TechWithTim for this use case ? is any video tutorial available on your you tube channel.

  • @CyberDevilSec
    @CyberDevilSec Месяц назад

    Tim please show us how you install the Ollama plugins bro CMOON..

  • @JayJayworld-gf4sw
    @JayJayworld-gf4sw Месяц назад +1

    it's telling me to add the livekit api key to the environment but it's in the .emv file that you instructed. it doesn't see it.

    • @kshitijdeshpande6272
      @kshitijdeshpande6272 Месяц назад +2

      it should be `.env` and not `.emv`

    • @kingneptune2295
      @kingneptune2295 25 дней назад

      @@kshitijdeshpande6272 I am having this same issue yet is called `.env` any ideas?

  • @VaibhavShewale
    @VaibhavShewale 2 месяца назад +1

    now al i need a smart devices in my home

  • @kingneptune2295
    @kingneptune2295 25 дней назад

    hey im having an issue with implementing this. I keep getting the error` api_key is required, or add LIVEKIT_API_KEY in your environment` when i have all of the keys inside my .env file. idk what the issue is as im new to coding

  • @rupesh6518
    @rupesh6518 16 дней назад

    How can we capture the audio duration?😊

  • @LolProgrammer
    @LolProgrammer 2 месяца назад +1

    Can i make this using Gemini ?

  • @ernstb1234
    @ernstb1234 20 дней назад

    Bro I was lost from the beginning imagine I’m a 6 year old trying to figure this out

  • @jayeshgamerx
    @jayeshgamerx 27 дней назад +1

    Hey @TechWithTim I am facing errors while installing livekit-plugins-openai and livekit-plugins-silero (I even tried to install it from requirements.txt) it just shows an error "Getting requirements to build wheel did not run successfully.
    │ exit code: 1" Please help me if you could!!

  • @reiiigns
    @reiiigns Месяц назад

    wondering how I can connect this locally with ollama?

  • @renovacio5847
    @renovacio5847 2 месяца назад +1

    But why do you cut it when you find out how long it takes to respond in real time?

    • @TechWithTim
      @TechWithTim  2 месяца назад +1

      You can test yourself just don’t wanna make you sit through that in a video

  • @ishantstech6878
    @ishantstech6878 9 дней назад

    I don't have money to buy OpenAI key, any other way around?

  • @swapnalidhotre8265
    @swapnalidhotre8265 Месяц назад

    Is there a way livekit agent identifies given wake word and listens only when it is said?

  • @pradhumnkanase8381
    @pradhumnkanase8381 Месяц назад

    The agent is not able to understand what I am saying when I try to set it up. I am using the same code as your's.

  • @starnine-b6b
    @starnine-b6b Месяц назад

    how to make a function that sends the whole conversation to an llm after the conversation ends?

  • @jazz5919
    @jazz5919 2 месяца назад +1

    so it can not report anything other than temperature related stuff?

    • @TechWithTim
      @TechWithTim  2 месяца назад +2

      It can do anything you want, I just make a simple example to get you started

  • @marcationoo7105
    @marcationoo7105 2 месяца назад

    Tim please can you make a tutorial about ai program that extract text from a pdf or photo that contains text, and i love your videos so much bro keep it up

    • @jeffnariesokoth8626
      @jeffnariesokoth8626 2 месяца назад

      I thought this can already be done through OCR and there are some free APIs available

  • @beleiveme2350
    @beleiveme2350 11 дней назад

    Can i use it even if am offline

  • @antoniocarlosjuniorrr
    @antoniocarlosjuniorrr Месяц назад

    What is this theme you are using?

  • @bloggerdsc8422
    @bloggerdsc8422 Месяц назад +1

    Voice assistant Can be in french language ?

  • @muhammadafaq1454
    @muhammadafaq1454 Месяц назад +1

    Hi in this vedio you gave just some temperatures and it is giving answers of that temperatures. My question is how to give large data there so it can give answers from that? Anyone please?

    • @rmt3589
      @rmt3589 Месяц назад +2

      You need to either train the model(not fine tune), or do a thing AI forget the name of so it can pull external information.

    • @rmt3589
      @rmt3589 Месяц назад +1

      Searched through my saved stuff, the other thing is called RAG. Retrieval Argumented Generation I think.

  • @ElementalPlayz
    @ElementalPlayz Месяц назад

    Question can I use this to translate

  • @mohammaderiqat1598
    @mohammaderiqat1598 27 дней назад

    how can i build a custom application on that

  • @smallhat1
    @smallhat1 2 месяца назад

    Hey I’m super new to coding and I was wondering if I would be able to make it were I can tell a robot arm which way to move and power it on and off with the voice assistant

    • @JS-kb4bk
      @JS-kb4bk 2 месяца назад

      I would use an arduino to do that

  • @owenchilwalo7944
    @owenchilwalo7944 28 дней назад

    How can I use gemini in this project?

  • @JayRSantos-n6v
    @JayRSantos-n6v 3 дня назад

    why is this showing up " from dotenv import load_dotenv
    ModuleNotFoundError: No module named 'dotenv'"??

    • @osutanterra
      @osutanterra День назад

      switch from the (base) venv, to the (ai) or whatever venv you named it. in the bottom left in VSCode

  • @TheManOfTheHourEveryHour
    @TheManOfTheHourEveryHour Месяц назад

    🔥🔥🔥🔥

  • @InAMinute-ws3yv
    @InAMinute-ws3yv 2 месяца назад

    does this support voice interruption?

  • @-paperwings6986
    @-paperwings6986 Месяц назад

    does livekit support edge_tts ?

  • @WizzyAlex
    @WizzyAlex 2 месяца назад +1

    Nice ❤

    • @TechWithTim
      @TechWithTim  2 месяца назад

      Thanks 🔥

    • @potaz02
      @potaz02 2 месяца назад

      ​@@TechWithTim how to custom voice for this ai?

  • @inavillichirannjevi7638
    @inavillichirannjevi7638 Месяц назад

    ImportError: cannot import name 'AssistantFnc' from 'api'

  • @abdul.rehman_.x
    @abdul.rehman_.x 2 месяца назад +2

    My Agent is not connecting

    • @loyalendeavor7991
      @loyalendeavor7991 Месяц назад

      Change interpreter: If using vscode hover over the unrecognized dependencies and select change interpreter, use the one that utilizes your venv packages. You'll find the venv name on the left side when checking different python interpreters

  • @FofouAudrey
    @FofouAudrey 17 дней назад

    am kinda stuck here not knowing what to do it keeps saying can't find dotenv what should i do pls

    • @PJTheAnalyst
      @PJTheAnalyst 17 дней назад

      did you do load_dotenv()?
      for the imports do:
      from dotenv import load_dotenv
      load_dotenv()

  • @muhammadumairramzan9419
    @muhammadumairramzan9419 9 дней назад

    Do I need a paid version of chatgbt api

  • @patricalaun5709
    @patricalaun5709 Месяц назад

    Can this be made offline?

  • @eggsandbrioche
    @eggsandbrioche 27 дней назад

    I keep getting "fnc_ctx not defined"...

  • @SageServices-pd7yg
    @SageServices-pd7yg 16 дней назад

    are we spelling assistant as assitant for a reason?

  • @bene88597
    @bene88597 2 месяца назад

    Bro is there a way to get live data from Amazon without to use these expensive third party APIs? I need live data of products with 40+% discount thx mate ❤🎉

  • @АликМакаров-е2ц
    @АликМакаров-е2ц День назад

    works only with python version 3.11.10))

  • @thabomonamodi1436
    @thabomonamodi1436 Месяц назад

    Can it be Interrupted?

  • @CyberDevilSec
    @CyberDevilSec Месяц назад

    FUCK YES
    LDEGEND!

  • @omnivers-ce6hi
    @omnivers-ce6hi Месяц назад

    What if we use Ollama instead of OpenAI to avoid paying per API request is it possible?

    • @TechWithTim
      @TechWithTim  Месяц назад +1

      Yes of course!

    • @omnivers-ce6hi
      @omnivers-ce6hi Месяц назад

      @@TechWithTim What a quick answer to my question, thank you Tim ! Keep it up 💪🏼

    • @reiiigns
      @reiiigns Месяц назад

      @@TechWithTim any idea how?

    • @justheretocomment6410
      @justheretocomment6410 24 дня назад

      @@reiiigns yeah a fully offline version with a great ollamma LLM would be great

  • @HAL9000-B
    @HAL9000-B Месяц назад +1

    Why don't you use AI to assist coding?

    • @rmt3589
      @rmt3589 Месяц назад +1

      It's either impairing or worse than just coding raw, depending which one you use. He's a competent coder, so it can only slow him down.
      I on the other hand, plan to.