No video

Voice Assistant with Wake Word in Python

In this video, we learn how to build an intelligent AI voice assistant, which reacts to a chosen wake word.
◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾
📚 Programming Books & Merch 📚
🐍 The Python Bible Book: www.neuralnine.com/books/
💻 The Algorithm Bible Book: www.neuralnine.com/books/
👕 Programming Merch: www.neuralnine.com/shop
🌐 Social Media & Contact 🌐
📱 Website: www.neuralnine.com/
📷 Instagram: / neuralnine
🐦 Twitter: / neuralnine
🤵 LinkedIn: / neuralnine
📁 GitHub: github.com/NeuralNine
🎙 Discord: / discord
🎵 Outro Music From: www.bensound.com/
Timestamps:
(0:00) Intro
(0:23) Preview
(2:25) Coding Voice Assistant
(18:45) Demonstration
(19:46) Outro

Пікірлер: 102

  • @thomasgoodwin2648
    @thomasgoodwin2648 Жыл бұрын

    Intents is a nice piece of kit. Well done! More importantly thanks for giving it to the world!

  • @romnicreations
    @romnicreations11 ай бұрын

    For people trying this out after the month August 2023, you guys should check out the documentation for the package because they made changes that makes the code in the video and the new code different. Make sure you're also in version 0.1.0 of the package neuralintents

  • @tortysoft

    @tortysoft

    10 ай бұрын

    Can you please say exactly what is different? The code as it stands fails ModuleNotFoundError: No module named 'AppKit'

  • @dxs_nightwolff

    @dxs_nightwolff

    9 ай бұрын

    Couldn't find the code for this. 20 min is a lot... :( Can you help?

  • @CodX710
    @CodX710 Жыл бұрын

    i can listen to intro music on loop for hours so good, also great tutorial

  • @marcosalejandropadilladorta
    @marcosalejandropadilladorta Жыл бұрын

    Very nice, maybe you could make a series creating an assistant like Jake with more commands or functions, it would be quite interesting and instructive

  • @nkemakolaugoji7452

    @nkemakolaugoji7452

    Жыл бұрын

    You are right He should put this into serious consideration

  • @Hypocr4te
    @Hypocr4te5 ай бұрын

    Damn this looks incredible !!!

  • @cerealport2726
    @cerealport2726 Жыл бұрын

    This is great! I'm going to have a play with it later! I have been wanting to make a basic windows based app to query a real-time local database to get some commonly requested values while being hands-free, and not being in front of the screen. Your masterpiece seems like it will get the job done pretty easily! Thanks so much for sharing your expertise and knowledge!

  • @gekyume9128

    @gekyume9128

    Жыл бұрын

    were you able to do it?

  • @tony99659
    @tony99659 Жыл бұрын

    awesome video!!!

  • @dustyarcher
    @dustyarcher9 ай бұрын

    Absolutely brilliant 💕💕💕it

  • @blackstonesoftware7074
    @blackstonesoftware7074 Жыл бұрын

    You made my day with this one!

  • @IronMechanic7110
    @IronMechanic7110 Жыл бұрын

    Very cool.

  • @troll_dude
    @troll_dude Жыл бұрын

    What other libraries do I need for this to work? Only those shown in the video or additional ones?

  • @tshepomofokeng8558
    @tshepomofokeng8558 Жыл бұрын

    Nice. may you kindly show how to add more functionalities to Jake. Thank you.

  • @cybersecurity3523
    @cybersecurity3523 Жыл бұрын

    You are the best bro

  • @user-xb9ip9sg2v
    @user-xb9ip9sg2v5 ай бұрын

    awesome!

  • @russhensel
    @russhensel Жыл бұрын

    Can I get all the code in a machine readable format, inc. your module?

  • @franksonate
    @franksonate Жыл бұрын

    hello, can I export my Speech Recognition in python to android app?

  • @chrisr2063
    @chrisr2063 Жыл бұрын

    pc keeps freezing up when running this. not sure why. Initially it was a "decay" is deprecated but i added "legacy" to the import in neuralintents

  • @anildokmetas2399
    @anildokmetas2399 Жыл бұрын

    Is there a way for the assistant to develop responses automatically? and how would you get it to learn things that you do not write in the json file, such as if you train it so much, it will learn automated tasks, such as opening a simple window or other things

  • @alby13

    @alby13

    3 ай бұрын

    if you mean to spontaneously talk to you, LLMs don't natively do this. they work by responding to a prompt. they don't use their AI to think of something interesting to say. it would be great if they could also have a AI component to think about what to say. very futuristic.

  • @dhananjayachall3546
    @dhananjayachall3546 Жыл бұрын

    This is quite helpfull, but I want to know how the modules work and how the recogniton works rather than importing a module that does it for you

  • @PraveenKumar-nn9wd
    @PraveenKumar-nn9wd Жыл бұрын

    For me it stops after threading and mainloop starts only if threading was stopped

  • @aashirqureshi1932
    @aashirqureshi1932 Жыл бұрын

    Can we use natural voicing APIs with the same program such as speechelo, revoicer etc. How to make this program useable for general public who don't know programming?

  • @NBGTZ
    @NBGTZ Жыл бұрын

    when i run the code it loaded and after few second its "Process finished with exit code 0" also do not give any error i am using pycharm community as compiler Please help me

  • @ruslan_ushurov
    @ruslan_ushurov Жыл бұрын

    When I run this, it tells me that the requested array has an inhomogeneous shape. Can someone help?

  • @themaniac41
    @themaniac41 Жыл бұрын

    Keep getting this error what do I do? "AttributeError: module 'collections' has no attribute 'MutableMappingMapping'"

  • @MSandovalPhD
    @MSandovalPhD8 ай бұрын

    Good video. But there are some packages incompatible with this example in 2023. Protobuf 4.25.1 is incompatible as it seems he is using protobuf=3.19.6.

  • @user-in5td9kn8g
    @user-in5td9kn8g Жыл бұрын

    Hi sir , I written the code same as yours but im getting this below error ValueError: decay is deprecated in the new Keras optimizer, pleasecheck the docstring for valid arguments, or use the legacy optimizer,

  • @TBDG5310

    @TBDG5310

    Жыл бұрын

    Getting the same problem here, seems like it's something to do with the neuralintents import since Keras optimizer doesn't get called in the code used in the video. No idea how to fix it

  • @tonyflash1498

    @tonyflash1498

    Жыл бұрын

    same problem did you fix it?

  • @adipurnama_workshop
    @adipurnama_workshop8 ай бұрын

    This is awesome if works. Let me try

  • @NguyenThiThanhThaoA-dh1bz
    @NguyenThiThanhThaoA-dh1bz Жыл бұрын

    can you make a full GUI theme like this please

  • @kashifmehdi5774
    @kashifmehdi5774 Жыл бұрын

    What compiler do you use sir?

  • @jmsal5556

    @jmsal5556

    Жыл бұрын

    Pycharm by Jetbrains

  • @user-rd5ht3bx1s
    @user-rd5ht3bx1s Жыл бұрын

    It is showing pip is not recognised as an internal or external command, operable program or batch file

  • @yue-yinli1368
    @yue-yinli1368 Жыл бұрын

    i keep getting value error what does that mean

  • @shanksdestiny4035
    @shanksdestiny4035 Жыл бұрын

    i cant import neural intents any help?

  • @dian_permana
    @dian_permana Жыл бұрын

    Imagine run test automation using this, try please 😗

  • @cmxx-rs3kv
    @cmxx-rs3kv Жыл бұрын

    what is version python

  • @kennethbielema7414
    @kennethbielema741411 ай бұрын

    Hi! your programs are easy to follow , but this one I followed line for line ,but get this error. Traceback (most recent call last): File "C:\Python311\Jake\main.py", line 65, in Assistant() File "C:\Python311\Jake\main.py", line 19, in __init__ self.assistant.train_model() File "C:\Python311\Lib\site-packages euralintents\main.py", line 97, in train_model training = np.array(training) ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 2 dimensions. The detected shape was (20, 2) + inhomogeneous part. can you help with this? thanks

  • @iqrashaikh7998

    @iqrashaikh7998

    11 ай бұрын

    I'm having the same would you help?

  • @motombindelli7846
    @motombindelli7846 Жыл бұрын

    I ran the exact code but i keep getting this error. Can someone please help me. [nltk_data] Error loading punkt: [nltk_data] Error loading wordnet:

  • @rocky9849
    @rocky9849 Жыл бұрын

    speaker attribute error anyone have solution for this

  • @gainscafe1273
    @gainscafe1273 Жыл бұрын

    I keep getting an error when I try to install the 'neuralintents' library, is there another?

  • @ankurpathak108
    @ankurpathak108 Жыл бұрын

    Is there a way to change ta voice of it ? I want to use a custom voice .

  • @firoz400

    @firoz400

    Жыл бұрын

    You can clone a voice , search voice cloning on youtube, then put that voice in text to speech library

  • @DstokesncstudioOrg
    @DstokesncstudioOrg Жыл бұрын

    getting this error Cannot install neuralintents==0.0.1, neuralintents==0.0.2, neuralintents==0.0.3 and neuralintents==0.0.4 because these package versions have conflicting dependencies

  • @jochenschmidt7032

    @jochenschmidt7032

    Жыл бұрын

    could it be that your on a raspberry pi? because neuralintents depends on an other package which is only available for x64 bit systems, but you can get that for raspberry pi

  • @DstokesncstudioOrg

    @DstokesncstudioOrg

    Жыл бұрын

    @@jochenschmidt7032 not using one right now

  • @jochenschmidt7032

    @jochenschmidt7032

    Жыл бұрын

    @@DstokesncstudioOrg Any other 32-bit system?

  • @DstokesncstudioOrg

    @DstokesncstudioOrg

    Жыл бұрын

    @@jochenschmidt7032 no I'm using amd

  • @jochenschmidt7032

    @jochenschmidt7032

    Жыл бұрын

    @@DstokesncstudioOrg OK No Idea then sorry

  • @anshulsingh9819
    @anshulsingh98199 ай бұрын

    I got a type error that is __init__() got an unexpected keyword argument 'intent_methods' please give solution for that

  • @amraam8723

    @amraam8723

    3 ай бұрын

    Replace with: intents.data(........)

  • @codingkids4287
    @codingkids42874 ай бұрын

    Can we have the JSON file

  • @arjester5688
    @arjester5688 Жыл бұрын

    Speech recognition and pyttx3 are not working for me the pycharm and visual studio dont recognize them even though i installed them numerous times pls help

  • @aidengilbert126

    @aidengilbert126

    Жыл бұрын

    same i have no idea how to fix it

  • @learntoteach1

    @learntoteach1

    Жыл бұрын

    @@aidengilbert126 same

  • @sherlockholmes3552

    @sherlockholmes3552

    Жыл бұрын

    You have to install them in cmd(command prompt)

  • @layaprada2804

    @layaprada2804

    Жыл бұрын

    @@sherlockholmes3552 did that and it still doesn't work

  • @sherlockholmes3552

    @sherlockholmes3552

    Жыл бұрын

    @@layaprada2804 Okay I don't know But I was working on this 3 months ago Try it again and look for another solution maybe I'm sorry to say I can't help you right now

  • @bosvikanimations728
    @bosvikanimations7282 ай бұрын

    I'm getting these errors in Assistant() in __init__ self.assistant.load_model() self.model = load_model(f'{self.model_name}.keras') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ raise ValueError( ValueError: File not found: filepath=basic_model.keras. Please ensure the file is an accessible `.keras` zip file. how do I fix these errors?

  • @privateeye242
    @privateeye242 Жыл бұрын

    Didn't work. I get this error: AttributeError: module 'tensorflow.python.training.experimental.mixed_precision' has no attribute '_register_wrapper_optimizer_cls'. Something worng in neuralintents when outcommanding "from neuralintents import GenericAssistant" there's no error.

  • @SpoobyDooVillian

    @SpoobyDooVillian

    Жыл бұрын

    You pip install pyaudio?

  • @privateeye242

    @privateeye242

    Жыл бұрын

    @@SpoobyDooVillian Yes, I had installed pyaudio.

  • @humansoftware1214
    @humansoftware1214 Жыл бұрын

    Code pls?

  • @humansoftware1214
    @humansoftware1214 Жыл бұрын

    Code?

  • @cmxx-rs3kv
    @cmxx-rs3kv Жыл бұрын

    i am need intents.json erorr with code o

  • @Dinesh-eh8mk
    @Dinesh-eh8mk Жыл бұрын

    training = np.array(training) ^^^^^^^^^^^^^^^^^^ ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 2 dimensions. The detected shape was (11, 2) + inhomogeneous part. pls any one solve my error

  • @Pinuk_

    @Pinuk_

    11 ай бұрын

    same error mate got any solutions ?

  • @infi-dkgaming8658

    @infi-dkgaming8658

    11 ай бұрын

    same error bro. I guess intent library is outdated right now so we must use a different library.

  • @valadimirX
    @valadimirX Жыл бұрын

    Want to code it on Android using termux

  • @Yash.Extream
    @Yash.Extream Жыл бұрын

    i am shocked in video like this there is only 601 like's with 14k view's really that's why i hate this world if a girl even polishing his boot then that video would have more then 20k like's but -------------------- look at here just speechless

  • @dxs_nightwolff
    @dxs_nightwolff9 ай бұрын

    Couldn't find the code for this. 20 min is a lot... :(

  • @kashifmehdi5774
    @kashifmehdi5774 Жыл бұрын

    Sir I am not able to install neuralintents

  • @alessandrochiri6315

    @alessandrochiri6315

    Жыл бұрын

    me either

  • @forwardtechnical
    @forwardtechnical Жыл бұрын

    Can you please provide us this code ??❤

  • @aniketpatil4430

    @aniketpatil4430

    Жыл бұрын

    hi

  • @harshilsen923
    @harshilsen9232 ай бұрын

    bro create a voice assistant give output in text or voice and add openAi

  • @echoko264
    @echoko264 Жыл бұрын

    Traceback (most recent call last): File "C:\Users\Jericho Nicolas\PycharmProjects\pythonProject1\main.py", line 63, in Assistant() File "C:\Users\Jericho Nicolas\PycharmProjects\pythonProject1\main.py", line 18, in __init__ self.assistant = GenericAssistant("intents.json", intent_methods={"file": self.create_file}) ^^^^^^^^^^^^^^^^ AttributeError: 'Assistant' object has no attribute 'create_file' this is what I get how can i fix it?

  • @Ice-on7xs

    @Ice-on7xs

    Жыл бұрын

    You forgot to make the "create_file" function

  • @abhishektripathi3904

    @abhishektripathi3904

    Жыл бұрын

    Got the same problem. Any solution to that?

  • @cmxx-rs3kv
    @cmxx-rs3kv Жыл бұрын

    I need project

  • @johnpaulvasquez9449
    @johnpaulvasquez9449 Жыл бұрын

    i have this error guys and i dont know how to fix it. please help Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when creating the ndarray. training = np.array(training)

  • @felipevalencian7196

    @felipevalencian7196

    Жыл бұрын

    How did you fix it ?

  • @SLdragonscoc
    @SLdragonscoc Жыл бұрын

    4:30 JSON creat

  • @TheInterwievRoom
    @TheInterwievRoom8 ай бұрын

    it is not working

  • @kartik_exe_
    @kartik_exe_5 ай бұрын

    pls also provide source codes

  • @me_yuvraj4327
    @me_yuvraj4327 Жыл бұрын

    Hey there, I'm getting this error while pip install neuralintents; ''' G:\My Drive\VS Code Files>pip install neuralintents Defaulting to user installation because normal site-packages is not writeable Collecting neuralintents Using cached neuralintents-0.0.4-py3-none-any.whl (5.0 kB) Collecting numpy Using cached numpy-1.23.4-cp311-cp311-win_amd64.whl (14.6 MB) Collecting nltk Using cached nltk-3.7-py3-none-any.whl (1.5 MB) Collecting neuralintents Using cached neuralintents-0.0.3-py3-none-any.whl (5.0 kB) Using cached neuralintents-0.0.2-py3-none-any.whl (4.3 kB) Using cached neuralintents-0.0.1-py3-none-any.whl (2.6 kB) ERROR: Cannot install neuralintents==0.0.1, neuralintents==0.0.2, neuralintents==0.0.3 and neuralintents==0.0.4 because these package versions have conflicting dependencies. The conflict is caused by: neuralintents 0.0.4 depends on tensorflow neuralintents 0.0.3 depends on tensorflow neuralintents 0.0.2 depends on tensorflow neuralintents 0.0.1 depends on tensorflow To fix this you could try to: 1. loosen the range of package versions you've specified 2. remove package versions to allow pip attempt to solve the dependency conflict ERROR: ResolutionImpossible: for help visit pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts ''' Kindly help..

  • @EstherHiiragi

    @EstherHiiragi

    Жыл бұрын

    I fixed it with downloading ptyhon 3.10.9

  • @gamermj223
    @gamermj2239 ай бұрын

    thxs but next time can you delete the out dated video

  • @distant6606
    @distant6606 Жыл бұрын

    First :)

  • @blackstonesoftware7074
    @blackstonesoftware7074 Жыл бұрын

    On my machine I get "this was complied with AVX instructions and none were found in your machine". I found a non AVX instruction set tensor flow. But now when I run my program, it will not run any of my python scripts (intent file doesn't seem to call it). Happens with Python 3.8 and python 3.10. Have you seen this error?

  • @anontough6907
    @anontough6907 Жыл бұрын

    - Hi Joi - Hi Anon, You're beautiful and I love you - .... :)

  • @anontough6907
    @anontough6907 Жыл бұрын

    Lel I just want joi :) from blade runner.

  • @adnanbayu
    @adnanbayu Жыл бұрын

    the code give me this error ValueError: decay is deprecated in the new Keras optimizer, pleasecheck the docstring for valid arguments, or use the legacy optimizer, e.g., tf.keras.optimizers.legacy.SGD.

  • @kaoutaarzn3335

    @kaoutaarzn3335

    Жыл бұрын

    sgd = SGD(learning_rate=0.01, momentum=0.9, nesterov=True) sgd = tf.keras.optimizers.legacy.SGD(lr=0.01, decay=1e-6, momentum=0.9, nesterov=True)

  • @TBDG5310

    @TBDG5310

    Жыл бұрын

    @@kaoutaarzn3335 How exactly does this help? Like where do I put this code since the code in the video doesn't directly call from the imports that are at fault