Voice Assistant with Wake Word in Python

Поділитися
Вставка

КОМЕНТАРІ • 105

  • @thomasgoodwin2648
    @thomasgoodwin2648 Рік тому +5

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

  • @romnicreations
    @romnicreations Рік тому +22

    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 Рік тому

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

    • @dxs_nightwolff
      @dxs_nightwolff 11 місяців тому +1

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

  • @marcosalejandropadilladorta
    @marcosalejandropadilladorta Рік тому +10

    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

  • @TechwithAlvi
    @TechwithAlvi Місяць тому +2

    it raises an Import error which is: raise ImportError(
    ImportError: Could not find the DLL(s) 'msvcp140.dll or msvcp140_1.dll'. TensorFlow requires that these DLLs be installed in a directory that is named in your %PATH% environment variable. You may install these DLLs by downloading "Microsoft C++ Redistributable for Visual Studio 2015, 2017 and 2019" for your platform from this URL:

  • @CodX710
    @CodX710 Рік тому

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

  • @AdithyaBA-b9v
    @AdithyaBA-b9v Рік тому +7

    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 Рік тому +1

      same problem
      did you fix it?

  • @anildokmetas2399
    @anildokmetas2399 Рік тому +6

    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 5 місяців тому

      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.

  • @cerealport2726
    @cerealport2726 Рік тому +2

    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!

  • @tshepomofokeng8558
    @tshepomofokeng8558 Рік тому +1

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

  • @MSandovalPhD
    @MSandovalPhD 10 місяців тому

    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.

  • @Hypocr4te
    @Hypocr4te 7 місяців тому

    Damn this looks incredible !!!

  • @NBGTZ
    @NBGTZ Рік тому +1

    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

  • @DstokesncstudioOrg
    @DstokesncstudioOrg Рік тому +4

    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

  • @russhensel
    @russhensel Рік тому +2

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

  • @PraveenKumar-nn9wd
    @PraveenKumar-nn9wd Рік тому +1

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

  • @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

  • @themaniac41
    @themaniac41 Рік тому

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

  • @AbhinavSrivatsa-s3l
    @AbhinavSrivatsa-s3l Рік тому

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

  • @anshulsingh9819
    @anshulsingh9819 11 місяців тому +1

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

    • @amraam8723
      @amraam8723 5 місяців тому

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

    • @vanshmavi7345
      @vanshmavi7345 21 день тому

      Any solution for that error

    • @vanshmavi7345
      @vanshmavi7345 21 день тому

      ​@@amraam8723this is not working

  • @blackstonesoftware7074
    @blackstonesoftware7074 Рік тому

    You made my day with this one!

  • @gainscafe1273
    @gainscafe1273 Рік тому +3

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

  • @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?

  • @franksonate
    @franksonate Рік тому +1

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

  • @dxs_nightwolff
    @dxs_nightwolff 11 місяців тому

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

  • @IronMechanic7110
    @IronMechanic7110 Рік тому +1

    Very cool.

  • @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:

  • @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

  • @shanksdestiny4035
    @shanksdestiny4035 Рік тому +1

    i cant import neural intents any help?

  • @ruslan_ushurov
    @ruslan_ushurov Рік тому

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

  • @dustyarcher
    @dustyarcher 11 місяців тому

    Absolutely brilliant 💕💕💕it

  • @troll_dude
    @troll_dude Рік тому

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

  • @Dinesh-eh8mk
    @Dinesh-eh8mk Рік тому +1

    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_ Рік тому

      same error mate got any solutions ?

    • @infi-dkgaming8658
      @infi-dkgaming8658 Рік тому +1

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

  • @adipurnama_workshop
    @adipurnama_workshop 10 місяців тому

    This is awesome if works. Let me try

  • @Yash.Extream
    @Yash.Extream Рік тому +2

    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

  • @dian_permana
    @dian_permana Рік тому

    Imagine run test automation using this, try please 😗

  • @NguyenThiThanhThaoA-dh1bz
    @NguyenThiThanhThaoA-dh1bz Рік тому

    can you make a full GUI theme like this please

  • @yue-yinli1368
    @yue-yinli1368 Рік тому

    i keep getting value error what does that mean

  • @gamermj223
    @gamermj223 11 місяців тому +1

    thxs but next time can you delete the out dated video

  • @harshilsen923
    @harshilsen923 4 місяці тому

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

  • @kashifmehdi5774
    @kashifmehdi5774 Рік тому +1

    What compiler do you use sir?

  • @bosvikanimations728
    @bosvikanimations728 4 місяці тому

    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.

  • @kashifmehdi5774
    @kashifmehdi5774 Рік тому +1

    Sir I am not able to install neuralintents

  • @cybersecurity3523
    @cybersecurity3523 Рік тому

    You are the best bro

  • @tony99659
    @tony99659 Рік тому

    awesome video!!!

  • @rocky9849
    @rocky9849 Рік тому

    speaker attribute error
    anyone have solution for this

  • @codingkids4287
    @codingkids4287 6 місяців тому

    Can we have the JSON file

  • @RichardTrocino-v1l
    @RichardTrocino-v1l 7 місяців тому

    awesome!

  • @kennethbielema7414
    @kennethbielema7414 Рік тому

    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

  • @herryisnotcommie
    @herryisnotcommie Рік тому

    Want to code it on Android using termux

  • @cmxx-rs3kv
    @cmxx-rs3kv Рік тому

    what is version python

  • @ankurpathak108
    @ankurpathak108 Рік тому

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

    • @firoz400
      @firoz400 Рік тому +2

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

  • @bonapirate
    @bonapirate 10 місяців тому

    it is not working

  • @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)

  • @forwardtechnical
    @forwardtechnical Рік тому

    Can you please provide us this code ??❤

  • @kartik_exe_
    @kartik_exe_ 7 місяців тому

    pls also provide source codes

  • @humansoftware1214
    @humansoftware1214 Рік тому

    Code pls?

  • @cmxx-rs3kv
    @cmxx-rs3kv Рік тому

    i am need intents.json erorr with code o

  • @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 Рік тому +1

      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

  • @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 Рік тому +1

      I fixed it with downloading ptyhon 3.10.9

  • @SLdragonscoc
    @SLdragonscoc Рік тому

    4:30 JSON creat

  • @distant6606
    @distant6606 Рік тому

    First :)

  • @anontough6907
    @anontough6907 Рік тому

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

  • @anontough6907
    @anontough6907 Рік тому

    Lel I just want joi :) from blade runner.

  • @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?

  • @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

  • @arjester5688
    @arjester5688 Рік тому +1

    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

  • @humansoftware1214
    @humansoftware1214 Рік тому

    Code?