Voice Assistant with Wake Word in Python

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

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

  • @romnicreations
    @romnicreations Год назад +24

    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 Год назад +1

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

  • @thomasgoodwin2648
    @thomasgoodwin2648 2 года назад +5

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

  • @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 3 месяца назад +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:

  • @cerealport2726
    @cerealport2726 2 года назад +3

    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!

  • @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 2 года назад +7

    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 6 месяцев назад

      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.

  • @mcr-mso-85
    @mcr-mso-85 11 месяцев назад

    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.

  • @tshepomofokeng8558
    @tshepomofokeng8558 2 года назад +1

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

  • @Hypocr4te
    @Hypocr4te 8 месяцев назад

    Damn this looks incredible !!!

  • @russhensel
    @russhensel 2 года назад +2

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

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

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

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

  • @troll_dude
    @troll_dude Год назад

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

  • @PraveenKumar-nn9wd
    @PraveenKumar-nn9wd Год назад +1

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

  • @kashifmehdi5774
    @kashifmehdi5774 Год назад +1

    What compiler do you use sir?

    • @jmsal5556
      @jmsal5556 Год назад

      Pycharm by Jetbrains

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

  • @dustyarcher
    @dustyarcher Год назад

    Absolutely brilliant 💕💕💕it

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

  • @franksonate
    @franksonate Год назад +1

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

  • @IronMechanic7110
    @IronMechanic7110 2 года назад +1

    Very cool.

  • @themaniac41
    @themaniac41 Год назад

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

  • @NguyenThiThanhThaoA-dh1bz
    @NguyenThiThanhThaoA-dh1bz Год назад

    can you make a full GUI theme like this please

  • @RichardTrocino-v1l
    @RichardTrocino-v1l 8 месяцев назад

    awesome!

  • @blackstonesoftware7074
    @blackstonesoftware7074 2 года назад

    You made my day with this one!

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

  • @ruslan_ushurov
    @ruslan_ushurov Год назад

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

  • @AbhinavSrivatsa-s3l
    @AbhinavSrivatsa-s3l Год назад

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

  • @tony99659
    @tony99659 2 года назад

    awesome video!!!

  • @shanksdestiny4035
    @shanksdestiny4035 Год назад +1

    i cant import neural intents any help?

  • @dian_permana
    @dian_permana 2 года назад

    Imagine run test automation using this, try please 😗

  • @adipurnama_workshop
    @adipurnama_workshop Год назад

    This is awesome if works. Let me try

  • @cybersecurity3523
    @cybersecurity3523 2 года назад

    You are the best bro

  • @arjester5688
    @arjester5688 2 года назад +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

  • @gamermj223
    @gamermj223 Год назад +2

    thxs but next time can you delete the out dated video

  • @codingkids4287
    @codingkids4287 7 месяцев назад

    Can we have the JSON file

  • @yue-yinli1368
    @yue-yinli1368 Год назад

    i keep getting value error what does that mean

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

  • @ankurpathak108
    @ankurpathak108 2 года назад

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

    • @firoz400
      @firoz400 2 года назад +2

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

  • @cmxx-rs3kv
    @cmxx-rs3kv 2 года назад

    what is version python

  • @privateeye242
    @privateeye242 2 года назад

    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.

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

  • @gainscafe1273
    @gainscafe1273 Год назад +3

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

  • @kashifmehdi5774
    @kashifmehdi5774 Год назад +1

    Sir I am not able to install neuralintents

  • @rocky9849
    @rocky9849 Год назад

    speaker attribute error
    anyone have solution for this

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

  • @dxs_nightwolff
    @dxs_nightwolff Год назад

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

  • @SLdragonscoc
    @SLdragonscoc Год назад

    4:30 JSON creat

  • @harshilsen923
    @harshilsen923 5 месяцев назад

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

  • @bosvikanimations728
    @bosvikanimations728 6 месяцев назад

    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?

  • @herryisnotcommie
    @herryisnotcommie 2 года назад

    Want to code it on Android using termux

  • @forwardtechnical
    @forwardtechnical Год назад

    Can you please provide us this code ??❤

  • @humansoftware1214
    @humansoftware1214 Год назад

    Code pls?

  • @WW_Catt
    @WW_Catt 11 месяцев назад

    it is not working

  • @cmxx-rs3kv
    @cmxx-rs3kv 2 года назад

    I need project

  • @cmxx-rs3kv
    @cmxx-rs3kv 2 года назад

    i am need intents.json erorr with code o

  • @kartik_exe_
    @kartik_exe_ 9 месяцев назад

    pls also provide source codes

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

  • @me_yuvraj4327
    @me_yuvraj4327 2 года назад

    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

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

  • @distant6606
    @distant6606 2 года назад

    First :)

  • @anontough6907
    @anontough6907 2 года назад

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

  • @anontough6907
    @anontough6907 2 года назад

    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

  • @anshulsingh9819
    @anshulsingh9819 Год назад +1

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

    • @amraam8723
      @amraam8723 6 месяцев назад

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

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

      Any solution for that error

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

      ​@@amraam8723this is not working

  • @humansoftware1214
    @humansoftware1214 Год назад

    Code?