Create a GPT4ALL Voice Assistant in 10 minutes

แชร์
ฝัง
  • เผยแพร่เมื่อ 2 ส.ค. 2023
  • Use Python to code a local GPT voice assistant. In this video we learn how to run OpenAI Whisper without internet connection, background voice detection in Python and implementing the GPT4ALL Python library to access any language model on GPT4ALL through your Python programs.
    DISCORD: / discord
    GITHUB: github.com/Ai-Austin/GPT4ALL-...
    GPT4ALL DOWNLOAD: gpt4all.io/index.html
    ANACONDA: www.anaconda.com/download
    VoiGPT: voigpt.com
    Official Ai Austin Discord: / discord
    Help me make more videos:
    www.buymeacoffee.com/aiaustin
    #python #ai #programming
  • บันเทิง

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

  • @Ai_Austin
    @Ai_Austin  11 หลายเดือนก่อน +190

    Should I make a tutorial on how I make my videos ?

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

      Yes

    • @PureDark120
      @PureDark120 11 หลายเดือนก่อน +8

      Yes, been meaning to ask this for a while. Your talking head is extremely well done

    • @Lofi_beat_spot
      @Lofi_beat_spot 11 หลายเดือนก่อน +5

      Yes

    • @thechanneleverybodylikes
      @thechanneleverybodylikes 11 หลายเดือนก่อน +5

      Yes please

    • @Nelson_Bazzard
      @Nelson_Bazzard 11 หลายเดือนก่อน +6

      Sure

  • @michealkinney6205
    @michealkinney6205 7 หลายเดือนก่อน +16

    Damn, this is really cool. Could easily enable API on a networked computer (dedicated for AI) and just take this same concept and build either a WebApp or Android/iOS app and you have a personal assistant like Alexa, Google, or Siri, but better... and way more customizable. AI is so freaking awesome and we are still in the early days, amazing. Thanks!

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

    Perfect, I've been in dire need for a good simple voice listening python code. I can utilize this to with a openai assistant api to generate data a lot easier than having to have typed everything out on a keyboard. I'm working on making a dataset for a 1B LLM model to run my own smarthome alexa alternative and this is perfect.

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

    are you still able to load the whisper model file directly into the terminal? I keep getting path not found, trying to find the right cache location or if it works

  • @saxtant
    @saxtant 11 หลายเดือนก่อน +10

    This is great ... I'm going to use it as a base template, I want to add chat context management and basic tool calls.

    • @Ai_Austin
      @Ai_Austin  11 หลายเดือนก่อน +6

      That's awesome to hear. My goal exactly is that you guys take these and build upon them to improve your own assistant. There is so many useful features that can be added onto these.

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

    How would you compare this with your bard voice assistant?
    Can this give answer based on previous prompts?

  • @ara_vind_001.
    @ara_vind_001. 9 หลายเดือนก่อน +4

    Hi, Everything went well except I couldn't retreive the model. Please help

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

    Can you build a requirements.txt and .md file for your instructionals?

  • @TruthSeeKingg
    @TruthSeeKingg 11 หลายเดือนก่อน +3

    Bro in your previous video of bard voice assistant I'm facing error which is NoneType object is not subscriptable help me please 😭

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

    install portaudio before installing PyAudio, not after, as in the video, otherwise you get an error. Great video, keep up the good work!

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

      Sorry, but "get an error"? Which system? Doing what?

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

      @@TiborBerki For OSX as stated in the video

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

    Hi there for me my problem is I have a gpt4all folder, however no GPT4ALL folder, and my falcon file is not a bin and I cannot find it anywhere, please HELP

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

    i tried to follow it wont let me load the model you have in line 12 at 3:01 , when it finally saw the model in the right spot it tried to download it and gave an error

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

    Wow, this is great! Would love to see the prompts closely. Please do a tutorial on it, thanks!

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

    we can use winget as well right?

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

    I followed your guide and the code seems fine, but when prompted to say my wake word, it does nothing... my microphone is working, but is there a setting in VS Code I need to enable input/output audio?

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

      If you are on Windows I would recommend joining the Discord. There is an issue with new versions of windows and the listen in background function. Multiple users have worked through it and provided their code solutions in the programming-chat channel.

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

    Could it be possible to use a RVC based tts service for custom voices with this? I cloned Jarvis voice from the movies and i wanna use it as my personal assistant voice.

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

      whenever you figure this out please tell me TwT

  • @AllisonKuseski-ed1hn
    @AllisonKuseski-ed1hn 5 หลายเดือนก่อน +1

    is this tutorial available in PDF format? text version instead of video--i like to copy/paste :)

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

    this is what i wanted. definitely doing this soon. as soon as my broken shoulder heals because its pretty crap to use the rn.
    kinda want to use it with tortoise but i guess i can use any tts system and just give it an RVC pass

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

    how can i change voice input language to another

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

    Awesome 🎉🎉🎉

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

    Hi Austin, I took your code and went another route, instead of having the voice assistante I am trying to create a local instance of gtp4all on a local server and then have my home devices (esp32 with sensors) have communication with this instance of Ai, so that it can take decisions based on what they report (sample project of a Ai autonomous small greenhouse).
    I have the core of the project working, I am stuck however in the keeping context part. Could you make a video about this? I can have GTP4All in cli and start a conversation with it via node js but the conversation wont keep context. The final idea is to have a express JS api to have each device talk to GTP4ALL

    • @Nico-hf6hw
      @Nico-hf6hw 3 หลายเดือนก่อน

      Hey man, I am working on a few ai based projects and looking for a partner who is passionate as I am. I like what you are trying to do, let me know if you like to link up and have a chat.

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

    Great video! Just one question, can the assistant only run when we open python? Unlike siri or alexa which can run even when our pc or phone is off?

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

      You have to leave the script on in the background.

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

    What to do if i don't have the tiktoken_ext folder?

  • @GrayOperative
    @GrayOperative 10 หลายเดือนก่อน +5

    Can you do a video on animated an AI voice assistant giving them a body and face?

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

    Awesome video :D

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

    "I don't know why they thought it was a good idea to program this shit into this library, but we will modify the library to hack around this inconvenience" @ 4:35
    Caught me off guard tbh but this was the best part, lol.

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

    Question: can the voice recognition distinguish the boss voice from other people voice if there are many people speaking in the backgroud?

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

      It cannot. If you have a Mac you can enable voice isolation for the running terminal microphone. If you are speaking and someone is speaking further from the mic, it will completely isolate the intended voice just like on an iPhone.

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

      @@Ai_Austin Thanks for your kind and on-point rep.

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

      Please am facing a problem while trying to run the program. Python was not found; run without arguments to install from Microsoft store but i already installed python. Help me please

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

      @@ndellejoel2705 You need to make sure that you have the full path of python.exe in your system environment variables for cmd/powershell to be able to pick it up. For example, mine is in 'C:\Users\willi\AppData\Local\Programs\Python\Python39'. Yours may not be in that location, or even the same version.
      To ad the location to your path, in the Start menu search for "Edit the system environment variables", it should appear as the first hit, with control panel in small letters underneath the title, click that. once it opens, in the bottem left of the window is a button for "Environment Variables...", click it.
      A new window will appear, with two panes, the top one is for the current user, you'll see in the list an entry for "Path", select it and hit the Edit button below the top pane.
      Yet another window will appear with a list of all of the locations that are searched for when running programs in cmd/powershell, in the top left is a button for "New", click that, you'll then see the cursor appear in the first blank row, this is where you enter the path to the python folder on your system. Once done, click OK to close this screen, and again on the previous screen, and finally once more to close the System Properties window.
      You should now be able to try running python again, and if everything went well it should work.

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

    Hello,
    I'm trying to get GPT4All working on my computer. However, there has been an update from ggml files to gguf. The version of GPT4All that I have, can only detects and read ggufs, but the problem is that it cannot read them. Do you have any solution so that I can successfully read models such as Falcon ?

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

      Yes. You are attempting to use a new version of GPT4ALL's python module than shown in the video. Whenever attempting to follow a tutorial and implement newer versions of the library then what was shown, I always recommend going to the developer documentation for the newer version of the library I want to implement. In this case I would use the 'GPT4ALL Python Bindings Official Documentation' to understand any changes to their library.

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

      @@Ai_Austin I found my solution. My download path included an non-ASCII caracter, that's why the model cannot be readed. Now I'm trying to get the code works

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

      could you figure it out?
      @@clementbernard4259

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

    Wonderful project. Thanks a lot. It works so nicely. Now can I run it on Raspberry Pi4 B 8G?

  • @wk0djs-TheBigD
    @wk0djs-TheBigD 9 หลายเดือนก่อน

    Hi; I'm on a Mac m1 when I run the script, I get this error:
    Traceback (most recent call last):
    File "/Users/dennis/Desktop/AI Assistant/GPT4all.py", line 16, in
    tiny_model = whisper.load_model(tiny_model_path)
    ^^^^^^^^^^^^^^^^^^
    AttributeError: module 'whisper' has no attribute 'load_model'
    Did I miss a step?

    • @wk0djs-TheBigD
      @wk0djs-TheBigD 9 หลายเดือนก่อน +1

      I found the problem, I had the incorrect whisper. Need pip install -U openai-whisper

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

    CAN SOMEONE TELL ME WITCH FILE PATH AND WHERE I FIND IT

  • @whatifififwhatififif4468
    @whatifififwhatififif4468 28 วันที่ผ่านมา

    I am using window 10. There is an error message :
    "Failed to load llamamodel-mainline-cuda-avxonly.dll: LoadLibraryExW failed with error 0x7e
    Failed to load llamamodel-mainline-cuda.dll: LoadLibraryExW failed with error 0x7e"
    Is there someone with same error message?

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

    Thanks for the video but i have a Questtion: When i install GPT4All the downloaded model files dont end in .bin only .gguf, and because of that im having issues when calling the model. I even renamed it to include the .bin ending but the falcon model would not load into GPT4All software, the Mistral had no issues with name change, but both give me Value error: Unable to Instantiate?? solutions? BTW using Linux

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

      GGUF is the new file format for GPT4ALL models. Simply provide the correct path to the GGUF file if using a newer version of GPT4ALL than I showed.

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

    how to remove gpt libraries? because during installation I ran out of space on the partition and it created some extra space immediately. and I don't know what to do now. will you help?

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

      pip uninstall {library_name}

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

    why do you use whisper for wake word detection instead of a dedicated model like porcupine?

    • @Ai_Austin
      @Ai_Austin  11 หลายเดือนก่อน +5

      Just no need for it. The tiny model works fast for wake word and you would need to use it for transcribing the prompt still. Simplicity sake of not using more libraries and code than necessary to achieve practically unnoticeable performance difference.

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

      @@Ai_Austin I agree, the latency is almost non existent

  • @iOMNetwork
    @iOMNetwork 11 หลายเดือนก่อน +7

    Wow dude, how hard was it to figure all those steps out? Can you make a video about the System Prompts and how to use them in the most powerfull way or how we get gpt4all to work only with our local documents?

    • @Ai_Austin
      @Ai_Austin  11 หลายเดือนก่อน +4

      I will definitely make a video about system prompts soon. I don't think the GPT4ALL python library has the local docs plugin like the application but I will look into that more.

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

    is there a possibility to impliment the custom instruction function from gpt3-4 into this?

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

      You can absolutely add system messages in GPT4All's Python bindings. Refer to their official documentation and it's super simple to implement.

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

    Im still beginner. Can you show me how to run command prompt?

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

    Hello! Running Fedora here; I can't find the ggml-model-gpt4all-falcon-q4_0.bin anywhere on my computer, i only have gpt4all-falcon-q4_0.gguf, is it ok to replace the former with the later on the .py file?

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

      me 2 if you found the solution please tell me

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

    Error-- File "C:\Users\ucpat\AppData\Local\Programs\Python\Python310\lib\site-packages\whisper.py", line 69, in
    libc = ctypes.CDLL(libc_name)
    File "C:\Users\ucpat\AppData\Local\Programs\Python\Python310\lib\ctypes\__init__.py", line 364, in __init__
    if '/' in name or '\\' in name:
    TypeError: argument of type 'NoneType' is not iterable

  • @user-ru1qz1bo2q
    @user-ru1qz1bo2q 8 หลายเดือนก่อน

    I got this working but it won't respond to my prompt after responding to the wake up. It's as if the listen_in_background() thread stalls and never makes the callback more than once.

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

      If you are on Windows that is exactly what is happening. Great intuition. For whatever reason it no longer is supported on windows. My recommendation is to implement the listen() function and it will solve this issue for Windows.

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

    lost me @3:20 I dont have a nomic folder on mac

  • @richardbarlow8170
    @richardbarlow8170 16 วันที่ผ่านมา

    Could you do this but with Ollama rather than GPT4All?

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

    A mi me sale un error y no funciona.

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

    Hi @Austin, whenever I run the main.py, it sayssyntaxerror:(unicorn error) 'unicodeescape' codec can't decode bytes in position 2-3: truncated \UXXXXXXXX escape.
    I'm using a windows PC. Can you help me out?

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

      Absolutely. So in this case you got a Syntax Error and don't know what that means. The next step you need to take is go research the what a Syntax Error is. Once you know what it is, you get a strong idea of what is causing it. You debug your error until you solve it. And that is how to program.

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

      @@Ai_Austin Thanks Austin! I got the issue resolved. The reserved backslash symbol was giving this error. I appended 'r' in order to make the path as a raw string. However, there is a parameter that seems to remain uninitiated when CPU mode is active and if GPU is active, it shows 'running out of memory'. I believe the Falcon model that I downloaded is not compatible with GPT4ALL. Have you had any such issues?

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

      Nope. All the GPT4ALL models are compatible with GPT4ALL. Again your answer is in the error message. "You dont have enough memory to run this model" which would lead a software developer (someone who debugs their own code and is not a script kitty) to look into the GPT4ALL documentation on model/hardware compatibility.

  • @stingfuse2860
    @stingfuse2860 8 หลายเดือนก่อน +3

    GPT4All Falcon now uses .gguf model files rather than .bin. I assume this method will only work with .bin?

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

      Nope everything is all the same. You'll just have to download the new model file format if you are going to use the new version of the python library. You could use the same version I did and use the bin, but those models may potentially be updated so just use those is my advice and follow their official Python Bindings Documentation for how to download the gguf models.

    • @a.wriley3350
      @a.wriley3350 หลายเดือนก่อน

      @@Ai_Austin Where to get the new model file format or how to get it?

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

    For the description there "On Windows use Powershell to run" they both have the same Uri - just FYI - that threw me for a loop

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

    What tool are you using to animate your AI avatar?

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

      I have a whole video showing that.

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

    need an updated version for python 3.11 and above. playsound is for python 3.9 and below

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

    can you add all the dependencies in description plz

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

    This has not worked for me once.

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

    Dude great video, i have got an error, running in windows
    AssertionError: Audio source must be entered before adjusting, see documentation for ``AudioSource``; are you using ``source`` outside of a ``with`` statement?
    During handling of the above exception, another exception occurred:
    Traceback (most recent call last):
    File "C:\Users\USER\Desktop\PY\GTP4ALL\gpt4all_voice\main.py", line 78, in
    start_listening()
    File "C:\Users\USER\Desktop\PY\GTP4ALL\gpt4all_voice\main.py", line 70, in start_listening
    with source as s:
    File "C:\ProgramData\anaconda3\Lib\site-packages\speech_recognition\__init__.py", line 189, in __exit__
    self.stream.close()
    ^^^^^^^^^^^^^^^^^
    AttributeError: 'NoneType' object has no attribute 'close'
    Any idea of what is it?

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

      i installed pyttsx3==2.90 not just pyttsx3, The chat bot is not reacting to the wake word.

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

      i solving this but still has some problems, the program get stuck after the method "speak", and i want it to make it talk in spanish, well if i get the solution i'll post it

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

    This is awesome, is there a way to maintain persistence in conversations? i.e. make it remember past conversations, who i am etc?

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

      Yep yep. All things you can do with Python. Great reason to keep learning!

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

      ​@@Ai_Austin error during wake word detection errno13 permission denied 🥺Pls give solution

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

    I can make this portable like in a Rasperry Pi ?

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

      No. You need a computer capable of running a large language model.

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

    This is truly awesome thank you so much for taking the time to teach us programmably challenged. It acknowledges me saying "Jarvis" then says "Listening". However right after that my mic turns off and doesn't turn back on again for me to speak my prompt. Any ideas?

    • @Ai_Austin
      @Ai_Austin  11 หลายเดือนก่อน +3

      We've been trying to debug this in the discord server. It seems that some windows users, and some windows users aren't experiencing that same issue. Either pyttsx3 or speechrecognition has a bug currently on Windows that isn't letting the program run. Both of those are supposed to be supported on windows, but that is being welcome to the world of python programming on windows. A lot of the time these open source developers kind of leave everybody hanging. I really advise anybody who is not a highly advanced python programmer to use Linux to develop your projects, and then debug windows nightmare of an ecosystem afterwards..

    • @tobetrashed
      @tobetrashed 11 หลายเดือนก่อน +4

      @@Ai_Austin Well, I'll be on the look out for any changes to the github because after weeks and weeks of trying to build wheels and get things working on Windows this is absolutely the closest I've come to succeeding. Thanks to you. I appreciate very much how you explained the pathing in which to make it portable in such an intuitive way. Keep it up and thank you for being an asset to us all.

    • @Ai_Austin
      @Ai_Austin  11 หลายเดือนก่อน +3

      @tobetrashed Pro tip: Learning to code on Windows is learning to code on hard mode. I will forever recommend new programmers create a linux partition on their hard drive. Then you can code your projects and cross the added challenge of getting them running on windows after you know your code works on a operating system that isn't a headache for development.

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

    Is this because im usinf a Windows PC?
    The term 'brew' is not recognized as the name of a cmdlet, function, script file, or operable program. Check
    the spelling of the name, or if a path was included, verify that the path is correct and try again.
    At line:1 char:1
    + brew install ffmpeg
    + ~~~~
    + CategoryInfo : ObjectNotFound: (brew:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

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

      brew in only for mac users.
      use scoop or choco instead

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

      YE. HEHE. sorry for lolig.
      the creator is a geek good. and sometimes forget how normal folks
      dont know OS basic stuff.
      (abbreviated from "Homebrew" :) 🤣

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

    Good job Austin 👌 I gotta ask you:
    Is it using the GPT2?
    Is it still working today?
    Can any other model be used without the use of api?
    Thanks for the video 👍🏻

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

      It isn't using GPT2, it's using GPT4All. I don't know if it still works, but it should. I'm not sure what you mean by "any other model", but GPT4All has a few models.

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

    does whisper work on 3.11

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

      Yes

  • @Lofi_beat_spot
    @Lofi_beat_spot 11 หลายเดือนก่อน +5

    Thanks a lot bro 😊😊❤.

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

    Help please.
    pip install playsound
    Collecting playsound
    Using cached playsound-1.3.0.tar.gz (7.7 kB)
    Installing build dependencies ... done
    Getting requirements to build wheel ... error
    error: subprocess-exited-with-error
    × Getting requirements to build wheel did not run successfully.
    │ exit code: 1
    ╰─> [23 lines of output]

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

      Is this because I need to create a virtual environment? I don't know how to as yet but thanks to TH-cam by tomorrow I will

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

      solution:
      pip install wheel
      pip install playsound

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

      @@colin6345 That didn't work for me, but I was able to use:
      pip install "ai-core-sdk[aicore-content]"
      If anyone else has that problem

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

      had the same issue after i tried your solution, doing
      "pip install --upgrade setuptools wheel"
      THEN "pip install playsound"
      did the trick

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

    Wow, great. Do you know, how to train GPT4ALL with an own LLM? Let's say with study material and then I can learn via chat that? Or is this not possible with GPT4ALL?

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

      If you have a fine tuned model, you can use it with GPT4ALL. Training a model on study material, would probably be a more complex task than studying it yourself. You might want to look into embeddings instead of fine tuning for this task.

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

    Is there a way to add our own Voice model to this project? Awesome stuff btw

    • @Ai_Austin
      @Ai_Austin  8 หลายเดือนก่อน +3

      Absolutely there are many many ways you can implement TTS in this program instead of just using the built in TTS engine. I am researching best open source alternatives to Eleven Labs we could use to generate more realistic and customizable TTS voices. Have a long list to teat so can't say what I recommend there quite yet..

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

    could you update your baard api voice assistant video ?

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

      I am not going to be doing a full video on it soon. But I am updating the BardVoice GitHub repo for changes to the bard API tonight.

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

    I don't know if I am missing something but I find your videos hard to follow for example not only am I on Windows and your on mac I also feel like there's some setup missing like what is gpt4all_voice %.?? All I know is that we downloaded Anoconda and gpt4all from the website and we start punching in random code in our command prompt that gives me errors because I am a smooth brain

    • @Ai_Austin
      @Ai_Austin  11 หลายเดือนก่อน +4

      gpt4all_voice is the folder I said to create at the very start to put your python file. Programming is a learning curve. Even einstein would have felt smooth brain starting out. Its not a natural skill. But it is achievable.

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

      @@Ai_Austin I hope I didn't come off as rude I am just enthusiastic about this project and frustrated at my short comings

    • @Ai_Austin
      @Ai_Austin  11 หลายเดือนก่อน +3

      Totally empathize with it. Do expect my programming tutorials to be very fast paced, you'll prefer that on e you get past the basics. The terminal looks scary at first but it will become your best friend that lets you have way more power with a computer in your hand than 99% of people if you keep learning! I do also have a public Discord server where you can ask others for help on these tutorials. I respond in there as much as possible too!

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

      @@Ai_Austin "gpt4all_voice is the folder I said to create at the very start to put your python file." You never said that in the video.

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

      ​@@Roulade123 I 100% did lol

  • @d8ys
    @d8ys 11 หลายเดือนก่อน +5

    amazing, most underrated youtuber

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

    you : will be using vs code
    me: on linux with text editor

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

      i'm with you on this, finally getting around to learning vim instead of just using nano

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

    3:38 not working tiny model and base model

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

      Did you find a fix bro? Same

  • @AK-bt9vt
    @AK-bt9vt 2 หลายเดือนก่อน

    in Windows 10 it runs but unfortunately it doesn't correctly understand any single word

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

      user error. whisper is excellent at speech transcription. consider the possibility that something is incorrect besides the code i show. would explain why others are running without issue on windows 10

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

    Helo i really like your work. good jo. Please if you have time can you do a video on hoe to use LLAMA mostly on the raspberry pi because i couldnt get the gpt4all work on my raspberry pi

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

      Running a large language model on a tiny computer is not a task that is currently realistically possible. You would have to run llama on a cloud server or faster computer. These open source models do have models that were optimized for commercial hardware but that does not mean they were optimized for the slowest commercial hardware on the market.

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

      @@Ai_Austin Thanks for your repply all in all i like your work motivating and easy to follow

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

    🎯 Key Takeaways for quick navigation:
    00:00 🚀 *GPT for All Voice Assistant Introduction*
    - Introduction to coding a GPT for All Voice Assistant.
    - Overview of the voice assistant's capabilities.
    - Emphasis on it being open source and offline-friendly.
    01:23 🛠️ *Setting Up Development Environment*
    - Installing the GPT for All desktop app and selecting a language model.
    - Recommendations for using VS Code as the code editor.
    - Installing Python through Anaconda and required libraries.
    02:31 🧩 *Loading GPT for All Model and Dependencies*
    - Creating the necessary folder structure and Python file.
    - Importing libraries, setting up wake word, and loading the GPT for All model.
    - Installing and configuring additional libraries for audio processing.
    04:21 🌐 *Running GPT for All Offline*
    - Modifying OpenAI Whisper and GPT for All libraries for offline functionality.
    - Handling dependencies and loading model files locally.
    - Ensuring the voice assistant works without an internet connection.
    05:43 🔊 *Text-to-Speech Functionality*
    - Implementing text-to-speech functionality using different methods for Mac and non-Mac systems.
    - Setting up PiTTS library for non-Mac systems.
    - Creating a function for the voice assistant to speak.
    06:34 🎤 *Voice Recognition and Wake Word Detection*
    - Developing functions for detecting the wake word in audio input.
    - Utilizing the Whisper model for transcribing audio and detecting the wake word.
    - Integrating background listening for improved efficiency.
    07:58 🗣️ *Communicating with GPT for All*
    - Handling user prompts, transcribing audio prompts, and generating responses with GPT for All.
    - Managing program flow based on detected wake word and received prompts.
    - Ensuring the voice assistant can engage in a conversation.
    08:55 🎙️ *Continuous Background Listening*
    - Implementing continuous background listening using the 'listen in background' function.
    - Maintaining a background process for the microphone while other code runs.
    - Ensuring the voice assistant remains responsive to wake words.
    09:51 ⚠️ *Handling Warning Messages*
    - Addressing and mitigating specific warning messages related to M1 or M2 Max CPUs.
    - Improving the readability of the program's output.
    - Ensuring smooth execution of the voice assistant.
    10:16 🤝 *Community Engagement and Conclusion*
    - Announcing the official Discord server for community support.
    - Sharing the GitHub repository for the project's source code.
    - Encouraging contributions and providing a platform for discussions.
    Made with HARPA AI

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

    I really wanted this to work, but it needs updating for newer python/models etc. Pretty please. :)

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

      The code still runs for me, using the same python and library versions I made the tutorial in. This is the last voice assistant I am open sourcing. Use VoiGPT, my free to use website voice assistant, if this tutorial is too advanced. thanks for the suggestion.

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

    would have been good to see a demo at the end of this video, not sure if I want to go through the whole process if I don't know what the end result looks like

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

      Thanks for the tip. Considering I did a demo from 30 to 60 seconds how would seeing the demo after the code tutorial be better than before diving into the technical parts of the video? Seems like for audience retention you would prefer to see the demo, then the tutorial. But maybe your onto something and I should go straight into the code (which is where 50% of the audience leaves. And then if they watch the whole video, they get a demo at the end instead of the intro. Interesting concept for sure.

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

      @@Ai_Austin my bad, I re-watched the video and saw the demo at the start, apologies

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

    Hi! everyone, first of all thanks AI Austin for this great gift!!! your presentation 'tutorial' how to install and configure GPT4All is really great!!! Superb Job!! God bless you. I have a lenovo ThinkPad i7 with 8 GB RAM, running ubuntu linux 22.04.x .. I got GPT4All up and running the only thing is that it uses a very 'mechanical, robotic voice' i'm not getting the voice as yours here in your tutorial or any voice closed to yours in here ..... any suggestion?

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

      In my newer video, the Gemini assistant I show how to stream TTS with OpenAI's API. I'd watch that and just implement OpenAI TTS into this GPT4ALL voice assistant if you want the best quality voice.

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

    So this is completly off line. Ran at home. Open air mic. Key word listening trigger. Now I have my summer project for a weekend some time.
    Me: "Prime"
    Prime:"Freedom is the right of all sentient life".
    Me: "Calculate the force needed to puch Megatrons heart out the back of his torso
    Prime: "I did that last week. The force needed is..."

  • @GABRIELDAVID-zv8vo
    @GABRIELDAVID-zv8vo 6 หลายเดือนก่อน

    Please create ai assistant for me

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

    Code my vector bot. The servers shut down a while ago please

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

    Menudo timo

  • @dr.mikeybee
    @dr.mikeybee วันที่ผ่านมา

    This is interesting, but it's too basic. It needs streaming, and the chunks should be queued for an asynchronous daemon to speak them.

    • @Ai_Austin
      @Ai_Austin  วันที่ผ่านมา

      theres a thousand features that can be added to this program.
      sounds like you found a neat feature to better serve your personal needs.
      have fun building on this program and let us know how it goes bud

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

    Tony star built this in a cave… with a bunch of scraps…

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

      I built this in a van down by the river, from thin air. Tony Stark gets his code from me

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

    there must be an easier way ..jk lol .. thanks for making sure it works offline

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

    Anyone else getting this?
    (base) C:\Users\KKouts\Desktop\gpt4all_voice>python cachedmain.py
    Traceback (most recent call last):
    File "C:\Users\KKouts\Desktop\gpt4all_voice\cachedmain.py", line 80, in
    start_listening()
    File "C:\Users\KKouts\Desktop\gpt4all_voice\cachedmain.py", line 72, in start_listening
    with source as s:
    ^^^^^^
    NameError: name 'source' is not defined

  • @edit.withhaq
    @edit.withhaq 4 วันที่ผ่านมา

    Is this paid or free?

    • @Ai_Austin
      @Ai_Austin  3 วันที่ผ่านมา

      free

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

    I don't know why you would make the video so cringe, but, good info anyways!

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

      I don't know why you would make this comment so cringe, but, another comment i guess!

  • @user-zc3he8fi8h
    @user-zc3he8fi8h 11 หลายเดือนก่อน

    I hate dudes and kill em all in Skyrim normally but your AI Sith is making me get a stiffy. I'm running winders and got as far as -> ImportError: blobfile is not installed. Please install it by running `pip install blobfile`.

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

    99% of the population would consider your guide totally useless, not everybody is an AI nerd.

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

      There is 8.1 billion humans on planet earth. If 1% of humans find this video useful, that's 80 million people who I would have helped.
      I'd rather be a nerd than someone who feels smart, because I can't do math. 🤔

  • @Horizon-hj3yc
    @Horizon-hj3yc 3 หลายเดือนก่อน

    Junk....too much work.... you nerds need to make thinks much easier to install.

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

      The title said, create not download. Nerd.

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

    I'm getting a wheel error for playspund even after I install wheel

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

    man I am so lost😓

  • @rootsharp9946
    @rootsharp9946 13 วันที่ผ่านมา

    ai generated tutorial is waay lamer than it sounds in your head.

    • @Ai_Austin
      @Ai_Austin  13 วันที่ผ่านมา

      that would be so dope if ai could generate my videos. would save so much time. maybe in 10 years ai can edit videos like this, create code like this and write it into a tutorial script like i did. one day bubba, one day

  • @TruthSeeKingg
    @TruthSeeKingg 11 หลายเดือนก่อน +3

    Bro in your previous video of bard voice assistant I'm facing error which is NoneType object is not subscriptable help me please 😭

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

    when I download the gpt4all falcon model from the gpt4all desktop application I don't find any bin file. It shows gpt4all-falcon-q4_0.gguf in this file. how can I use it?

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

      me 2 as well please if you found the solution tell me its been a while and Im trying it

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

      @@hassanissa5644 Use gpt4all-falcon-q4_0.gguf file instead of bin file

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

      did you find a solution?@@hassanissa5644

  • @TruthSeeKingg
    @TruthSeeKingg 11 หลายเดือนก่อน +3

    Bro in your previous video of bard voice assistant I'm facing error which is NoneType object is not subscriptable help me please 😭

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

      I have the same problem