Intelligent Voice Assistant in Python

Поділитися
Вставка
  • Опубліковано 5 вер 2024
  • In this video we build an intelligent voice assistant in Python.
    ◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾
    📚 Programming Books & Merch 📚
    💻 The Algorithm Bible Book: www.neuralnine...
    🐍 The Python Bible Book: www.neuralnine...
    👕 Programming Merch: www.neuralnine...
    💻 Exclusive Content 💻
    👥 Patreon: / neuralnine
    🌐 Social Media & Contact 🌐
    📱 Website: www.neuralnine...
    📷 Instagram: / neuralnine
    🐦 Twitter: / neuralnine
    🤵 LinkedIn: / neuralnine
    📁 GitHub: github.com/Neu...
    🎵 Outro Music From: www.bensound.com/

КОМЕНТАРІ • 393

  • @oduniyitinuijioluwa2768
    @oduniyitinuijioluwa2768 3 роки тому +138

    Being a visually impaired person and being able to follow through with this and implement successfully makes me feel very elated! I know it doesn’t mean much. But you just gained a devoted subscriber!

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

      How did u type in the code

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

      can you please share the code?

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

      @@jackofspades3845 can you please share the code

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

      Hey I use glasses but thats nothing this guy knows how to read script and I type fpr crap so its nice to find this kind of knowledgeable help and also to learn how to use ChatGpt as a script writer/editor i have been reading about is a big deal. I also noticed he has a good library of other scripts i will try like the financial manager. I also like that he has a clear speaking voice and her explains what he is doing while he goes along. There are some none english speaking guys who also know what they are doing but its very difficult to understand them

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

      Please, can I get the GitHub repo to this project. If you don't mind me asking, what other features do you think can be added to this project to better serve a visually impaired user and How?

  • @dipuometuel6806
    @dipuometuel6806 3 роки тому +7

    It's quite depressing that NeuralNine hasn't reached 1M subscribers......your tutorials are the best...I used that one for sockets for my project..thank you for your dedication

  • @itzikgutzcha4779
    @itzikgutzcha4779 2 роки тому +5

    This is very nice!
    There are some models out there that can write code,
    So image, you tell it to do something new, a new intent, and then it asks "how to do this?" and you tell it, then it creates a function from your commands, and learns how to do more and more tasks.
    Of course, you must first give it some tools, like how to google stuff and run image recognition models.
    At some point, it will have enough tools to learn tasks by itself.
    For example, you tell it to press the exit button on the ad.
    At first, it doesn't know what a button or an ad is, let alone the exit button on the ad. But by this time, it should already know how to search stuff on the internet, get images of buttons, specifically exit buttons, and do what you ask of it, and it should record the actions it made. From here on out, when you tell it something new, it can manage by itself or will need minimal instructions.

  • @karis6270
    @karis6270 3 роки тому +38

    man i love this guy, the videos he makes are soo useful and entertaining

  • @antoniorivolta
    @antoniorivolta 3 роки тому +46

    This is officially the coolest channel on UA-cam ever.

  • @BrandonJacobson
    @BrandonJacobson 3 роки тому +4

    That's awesome. My whole channel is dedicated to building my own digital assistant using Python named SHANE like Jarvis from the Iron Man movies and comics. Many of your videos gave me good ideas.

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

    code seems to not be working on my end i keep getting the error code line 111, in
    assistant.train_model() is anyone can help would be appreciated. ive went through the comments and checked google with no answers to solve thanks in advance

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

      Bro have you got any solution to this?... I'm facing the same error

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

      @@amayshah6090 I also have the same issue. Can someone please give the solution

  • @DarkAcademyUniversity
    @DarkAcademyUniversity 5 місяців тому +1

    Why did not this man has not already 1mil? You tube sucks! You rock bro! Keep going!

  • @ceebee105
    @ceebee105 2 роки тому +10

    love the organized simplicity! I'm sure it's something easily accomplished, but is there a way to add a "wake word" to listen for before processing any requests?

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

    I get this error when i run the code : ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 2 dimensions. The detected shape was (24, 2) + inhomogeneous part. Can someone help?

  • @practical_python631
    @practical_python631 3 роки тому +12

    Great video ! just one more additive value , you could actually create a function that executes the speaker instead of runing it everytime you want to desplay a certain text into a voice format, as in the following function :
    def speaker(text):
    engine.say(text)
    engine.runAndWait()
    speaker( ' Hello World')

    • @shinchanhindi8838
      @shinchanhindi8838 2 роки тому

      Can you please provide me code for virtual assistant in python using pycharm

  • @PunkArray
    @PunkArray 2 роки тому +1

    Finally! Someone with useful content. Thank you, NeuralNine!!!

  • @dr.deathvolt3058
    @dr.deathvolt3058 3 роки тому +3

    I love this guy 💖😍
    He always come with different ideas and blow our mind ❤️

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

    which software or app u are using for the program is it pycharm

  • @dansdroids4067
    @dansdroids4067 3 роки тому +11

    Great video, very instructive!
    I have an issue though when running this completed code:
    File "C:/..../main.py", line 46
    with open(filename, 'w') as f:
    ^
    IndentationError: unindent does not match any outer indentation level
    Process finished with exit code 1
    I checked the whole code and there's no space/tab conflicts..
    any help would be greatly appreciated!

  • @user-te9tt1de3h
    @user-te9tt1de3h Рік тому +3

    Sir i have executed my code using your library. but i keep getting the below error. as the latest version doesn't support old versions of tensorflow. what is the solution for this?
    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.

  • @justchris846
    @justchris846 2 роки тому +1

    I’m starting with the Voice assistant and working my way to making AI. I need my computer to hear me , and be able to tell me what exactly is doing, the voice assistance is a great place to start

  • @0x2A_
    @0x2A_ 3 роки тому +6

    Who needs human friends when you can code your own :D

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

    Brother, I don't know much about python, but you helped me a lot in making one assistant for myself. Thanks. And yea you earned a sub!

  • @zego_fr34ks67
    @zego_fr34ks67 3 роки тому +3

    I get this error:
    Exception has occurred: TypeError
    string indices must be integers
    File "***\main.py", line 106, in
    assistant.train_model()
    Anybody know how to fix it?
    Or where can i find the full code?

  • @troopekyt
    @troopekyt 3 роки тому +10

    The only dislike was someone slipping his finger! Keep up king :)

  • @maulikshah28
    @maulikshah28 3 роки тому +3

    Epic video dude. Looking forward to seeing that zoom clone

    • @NeuralNine
      @NeuralNine  3 роки тому +4

      Already coded and recorded :)

    • @ajiteshkumar
      @ajiteshkumar 3 роки тому +1

      @@NeuralNine Wow! Can't wait for the upload! : )

    • @codewithyug1129
      @codewithyug1129 3 роки тому +1

      @@NeuralNine what! Pls upload it as fast as possible

    • @NeuralNine
      @NeuralNine  3 роки тому +2

      @@codewithyug1129 Have to keep the schedule ^^

    • @codewithyug1129
      @codewithyug1129 3 роки тому +1

      @@NeuralNine ok 👌. Anyway, I am waiting

  • @futurecodingwithgirishwar7247
    @futurecodingwithgirishwar7247 3 роки тому +1

    Best video,
    but can you show how to add voice enabled web searching on google in the same virtual assistant?
    This is the best video I was searching

  • @khushiverma949
    @khushiverma949 2 роки тому +1

    Unindent amount does not match previous indentPylance
    No quick fixes available
    i am getting this problem in line [48,9]
    pls help

  • @lizenzrush9125
    @lizenzrush9125 3 роки тому +4

    How can the tts engine output the responses defined in intents.json ?

  • @arieljoserodriguez6877
    @arieljoserodriguez6877 2 роки тому +2

    thanks very much for this excellent tutorial, I've learned a lot, I was able to code my first Ai assistant because of you, looking forward for more interesting content...THANKS

  • @Vaishnavi-ld6uk
    @Vaishnavi-ld6uk Рік тому +1

    Exception has occurred: ModuleNotFoundError
    No module named 'neuralintents'
    Can you please resolve this error
    I have already installed the module it showing as "already satisfied" then too I am getting this error

  • @vedaantmaheshwari9992
    @vedaantmaheshwari9992 3 роки тому

    you are the best your ideas blow our minds soon you will reach 100k subscribers best of luck for your upcoming videos

  • @logankempson217
    @logankempson217 3 роки тому +2

    Hi can someone help me. I've got an error on the line that says:
    assistant = GenericAssistant('intents.json', intent_methods=mappings)
    and I can't figure out where I I've gone wrong. No other errors have cropped up in the code and when you comment it out the program runs fine until you talk to it. This has led me to believe that this is the only error. Can someone please try and help me

    • @logankempson217
      @logankempson217 3 роки тому

      @@Loki-wv3bx No I didn't

    • @logankempson217
      @logankempson217 3 роки тому

      Couldnt figure out how

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

      assistant = BasicAssistant('intents.json', method_mappings = mappings) might fix it
      You'll have to replace that line of code with this one.

  • @imisuu8475
    @imisuu8475 2 роки тому +1

    Great voice assistant!

  • @joegalaxy1878
    @joegalaxy1878 2 роки тому +1

    i have a problem, at the start it says that neural intents and pyttsx3 dont work because of 'conflicting dependencies' do you know how to fix it?

  • @kevinschilling6813
    @kevinschilling6813 2 роки тому +2

    I really liked the video and information. My only issue or (run problem) was that GenericAssistant could not be resolved. As I didn't have the neurialintents you set to import for GenericAssistant. I did build the Intents List that you showed. But I'm too much of a noob to make your coding work.
    Maybe you can show us how your nurialintents were created so we can make the rest of what you shower us work..
    Thx..

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

      can you help me i get null byte error when i type in from neuralintents import GenericAssistant

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

      @@muhammadasjadchaudary445 sorry I cant help. I never received the info I requested from the original poster of the video.. which is a shame as I thought this was really promising.. something is missing in the code that I cant figure out..

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

      @@kevinschilling6813 no worries I made my own with javascript:)

  • @mfauzi4357
    @mfauzi4357 2 роки тому

    very nice, please add wakeword so assistant can standby all the time

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

    Hey there, its say that the assistant has no attribute called "train_model" What do I do?

  • @ivangrand4947
    @ivangrand4947 3 роки тому

    Awesome content. Favorite channel right now.

  • @preritdas6998
    @preritdas6998 2 роки тому

    When the video started I thought we wouldn't get the "what is going on guys and today we're going to build a thing so let us get right into it," but he didn't disappoint.

  • @wko_
    @wko_ 3 роки тому +3

    Brazil here ✋ Nice video!!

  • @brianhansen7425
    @brianhansen7425 2 роки тому +3

    Thanks for the video. I learned a lot. Terminal says there is a mistake in your 'neural intents' main.py.
    line 67, in train_model for intent in self.intent['intents']:
    TypeError: string indices must be integers. Can anyone help?

    • @shoryasinghal5241
      @shoryasinghal5241 2 роки тому

      same problem I am facing
      if you have got solution please tell me

  • @user-wn6cq8pc8j
    @user-wn6cq8pc8j 2 роки тому +1

    Pyttsx3 never works for me, it always show some traceback errors on a lot of files

  • @khushiverma949
    @khushiverma949 2 роки тому +1

    hi
    i am getting an error in line 1 of generic assistant
    from neuralintents import GenericAssistant
    Error using selected REPL back-end:
    IPython mode requires IPython 0.11 or later: No module named 'IPython'
    Using standard backend instead
    >>>

  • @codewithyug1129
    @codewithyug1129 3 роки тому

    I am waiting for the video conferencing app which has mic recognition. Awesome VIDEO. Now I am not going to be lonely in the lockdown.

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

    can you do a video how to install your pycharm because mine is doesnt work properly my codes are right but the pycharm doest work well

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

      Well, there is a community version
      , and a pro version. When you go into your code, you'll have to open it as a project so its not in light editing mode. From there you can run and test the code.

  • @troopekyt
    @troopekyt 3 роки тому +4

    Great video dude, I would also be interested if you could do a more advanced ai, like an update to this one, which can gather infos like time, date, weather, etc. Love ur video keepcup

  • @mjwalls_art
    @mjwalls_art 2 роки тому +1

    Hey great video and thanks for sharing your knowledge, it's been essential in learning.
    I do have a question...
    Wouldn't the "response" be a bit more organic if there were several choices to train? I think I answered my own question or at least something I'm willing to test now 😂
    Thanks again!

  • @DrillManga
    @DrillManga 2 роки тому

    Not going to lie, your "NeuralIntents" module is quite dope. Where are the models saved? It would be cool if we could "save it for later". Keep up the great work.

    • @zachdavis5854
      @zachdavis5854 2 роки тому

      I can't get it on my computer can you help me?

    • @CodeRay-k8z
      @CodeRay-k8z 2 місяці тому

      you can by using the .save_model() method on the assistant object

  • @juanbetancourt5106
    @juanbetancourt5106 3 роки тому +5

    I'm just seeing the fourth industrial revolution with my own eyes, it's just majestic.

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

    did u make the intents.json or did it come when u installed neuralintents cuz it didnt happen with me :)

  • @SaiyD
    @SaiyD 3 роки тому +5

    Hello friend, I'm from Brazil, first of all I would like to thank you for the excellent neuralintents module and for the best py ai video, very simple and with a very clean code, congratulations. i'm still not very good at py i've been studying for a while, i have a question how would you make speaker tts speak intents.json's responses instead of displaying it in the console?

    • @strobel273
      @strobel273 2 роки тому

      do you still need an answer?

    • @sanjoetv5748
      @sanjoetv5748 2 роки тому

      @@strobel273 please can you answer me my system cant find my .json

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

      @@sanjoetv5748 pls send me your code

    • @user-zu4dp9jp7l
      @user-zu4dp9jp7l 8 місяців тому

      @@strobel273 can u send your code pleas

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

    I keep getting this error message when I run the code, please help:
    File "c:\Users\DANIEL\Voice_Assist\main.py", line 114, in
    assistant.train_model()
    File "C:\Users\DANIEL\pyver\py311\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 (30, 2) + inhomogeneous part.

  • @kosmasdrapaniotis8371
    @kosmasdrapaniotis8371 3 роки тому +4

    Amazing content as always! Really appreciate your efforts. We learn a lot from you. I was wondering if it's possible to use gtts instead of pyttsx3 because the voice sounds too "robotic"

    • @troopekyt
      @troopekyt 3 роки тому +2

      Yes it is possible, just Google or check the docs to find out the commands for that module! ;)

  • @aaronferia5508
    @aaronferia5508 2 роки тому +1

    Hello, I have a question... how do you make your AI assistant to say responses from the "responses" in the json file??

  • @2ndpower2
    @2ndpower2 2 роки тому +2

    I am having trouble installing neuralIntents*

  • @pokegamerspoint6577
    @pokegamerspoint6577 3 роки тому +2

    which IDE are u using?
    Also in my pc I can't download any packages I tried pip install flask
    but it didn't work
    Is this because I have windows 7?

    • @kostassagma6099
      @kostassagma6099 3 роки тому +1

      He is using pycharm. If you are on windows, you need to add python to path to use its commands.

    • @NeuralNine
      @NeuralNine  3 роки тому +1

      I am using PyCharm

    • @MrREALball
      @MrREALball 3 роки тому +1

      He is using PyCharm. In order to use pip commands you need to have python installed. And Also check your environment variables and PATH.

    • @pokegamerspoint6577
      @pokegamerspoint6577 3 роки тому

      @@MrREALball I have installed python 2.8.1 (because the later versions are not supporting) and also have installed pycharm

    • @zombiekiller7101
      @zombiekiller7101 3 роки тому

      @@pokegamerspoint6577 just type pip in terminal, what do you get ?

  • @SMK-ds1uf
    @SMK-ds1uf 2 роки тому +1

    it is not working when downloading speech recognition this is coming up !!!
    AttributeError: module 'tokenize' has no attribute 'open'

  • @captainboreg7797
    @captainboreg7797 2 роки тому +1

    im unable to import the Genericassistant and the other modules.

  • @adlezof
    @adlezof 2 роки тому +1

    could you provide a github link to your project, because its not workling for me but i would love to use your code as an example.

  • @KazmUmutErke
    @KazmUmutErke 2 роки тому +1

    "from neuralintents import GenericAssistant" doesnt work for me i did pip install but i got 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.

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

      same problem here

  • @sachinsaibu6519
    @sachinsaibu6519 2 роки тому +1

    I did your same code. But assistant is not responding? What can I do?

  • @othmanehachad2778
    @othmanehachad2778 2 роки тому +1

    idk if anyone got this error but when running the program it tells me that there No such file or directory: 'intents.json' whereas it is in the same directory. Really great content btw thank you !!

    • @johnf7788
      @johnf7788 2 роки тому

      I manage to solve it? I have the same error

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

      you might need to specify the full path

  • @ikennaa
    @ikennaa 2 роки тому +1

    hey, thanks for this but I e run into a problem :(
    when I try importing GenerisAssistant from neuralintents it throws errors.
    unresolved reference 'neuralintents'
    unresolved reference 'genericassistant'
    pleased help. thanks

    • @nolanclark9154
      @nolanclark9154 2 роки тому

      Despite installing neuralintents with pip and not seeing any issues when I try to run I have the same issues. The error I receive is: from neuralintents import GenericAssistant
      ModuleNotFoundError: No module named 'neuralintents'
      It looks like a great project but going to need some help to resolve.

  • @samuelgrimard4520
    @samuelgrimard4520 3 роки тому +1

    Love the video man, how would I make a wake word for the assistant ?

    • @Doakley_42
      @Doakley_42 3 роки тому +1

      Have you tried an if statement? In a previous chatbot I made, I used pyttsx3 and speech recognition to create a variable named query which is a text version of the words the user said. and then I used an If statement that basically said If wakeword(either a variable or just a string in quotes) in query: then it runs the code where the chatbot does its process of responding. and then I put an else: that would print "waiting for wakeword " at the end for testing purposes.
      -- hope this helps!

  • @185rahul
    @185rahul 2 роки тому

    If anyone's had a problem where it doesn't appear to work on Ubuntu Linux 20.04, if using pycharm then make sure to add 'import pyaudio' at the top and additionally, please make sure your microphone is turned on (took me 10 hours of debugging until I found out this was the issue xD).

    • @thekinodertotenzombi
      @thekinodertotenzombi 2 роки тому +1

      do we have to install pyaudio? or does it work by just putting import pyaudio?

  • @888e3
    @888e3 2 роки тому

    it throws me this error "Could not find PyAudio; check installation
    During handling of the above exception, another exception occurred:
    File "C:\Users\panda2\OneDrive\Desktop\programmi\Assistant.py", line 115, in
    with speech_recognition.Microphone() as mic:" how can I fix it?

  • @badrdriouch1258
    @badrdriouch1258 2 роки тому +1

    Hello!
    I need help pls.
    I'm having trouble installing neuralintents package.

  • @portal_it_id
    @portal_it_id 3 роки тому

    Glad I found this channel

  • @crabbedapple6160
    @crabbedapple6160 3 роки тому +1

    Help please I'm trying to install neuralintents and I wrote everything right but it gave me this code:
    Collecting neuralintents
    Using cached neuralintents-0.0.4-py3-none-any.whl (5.0 kB)
    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 depend
    encies.
    help would be appreciated

    • @vilmerfolcke2458
      @vilmerfolcke2458 2 роки тому

      Did u write exactly pip install neuralintents in to the correct console (the one u usualy use for the pip installs)?

  • @codewithyug1129
    @codewithyug1129 3 роки тому

    Amazing intro @NeuralNine

  • @zhaadd
    @zhaadd 2 роки тому

    aaaaaaaaaahhh there goes 500MB of space ...damn didnt see that one coming
    lol

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

    Im abit of a noob at this. i installed the files with pip but when i try to import them in the IDE there are errors and it cant find the references. I am assuming that the location i installed the files with pip is different to what my IDE is pulling from. can someone help me change this ? and correct me if I'm wrong ?

  • @LukieHZX
    @LukieHZX 3 роки тому

    quit() ist übrigens wie exit() in Python auch Standart

  • @maherkhaznaji
    @maherkhaznaji 2 роки тому

    Great video. But l have a question please, is there a way that if you don't say any command, the voice would tell you a message like 'I didn't hear any instructions'

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

    How do I speak a long series of actions . For instance , hey bro I want you to turn on my lights on bedroom 1, make sure the dogs are fed every half hour. Just do this series of actions for a couple of days while I am out.

  • @Aethryste
    @Aethryste 2 роки тому +1

    Thanks for the video, great content! quick question though, is anyone else running into the issue where changes to intent.json don't seem to apply? my bot keeps saying "what can i do for you" even though it's no longer in there.

    • @INDRA7978
      @INDRA7978 2 роки тому

      yes i too see the same issue

    • @Aethryste
      @Aethryste 2 роки тому

      @@INDRA7978 I've figured out the issue and am trying to find a 'clean' solution. The issue is located within the greeting function, not the json. The speaker.say() parameter is the line we keep hearing instead of the corresponding responses registered within the json. pyttsx3 documentation isn't giving me much to work with though..

    • @Aethryste
      @Aethryste 2 роки тому

      I just found the fix as well, where .say() is meant to 'speak' the given string, .request() actually picks an option from the list you provide in the json. don't forget to add runAndWait(), otherwise you won't hear anything. Happy coding~

  • @clouDndsky
    @clouDndsky 2 роки тому

    hi neuralnine, keep up the great work :)

  • @gorsimonyan7841
    @gorsimonyan7841 2 роки тому

    You write 129 lines of code without running it. It looks a little bit fake and hard to understand what does that part of code.
    However this video helped me, thanks.

  • @mohamedznouda4629
    @mohamedznouda4629 3 роки тому

    how to solve the two errors that appears at the start when you run the program at 22:15 ? "VisibleDeprecationWarning" and "UserWarning"

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

    I am getting latency issues in getting output from bot. How can I improve that?

  • @RDKCREATIONS
    @RDKCREATIONS 3 роки тому +1

    it takes more time to download your module neuralinest

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

    great video, can you upload the whole on your Github?
    thanks!

  • @troopekyt
    @troopekyt 3 роки тому +1

    When loading the model (valueerror: unrecognized type code -1)

  • @quezeexdead4309
    @quezeexdead4309 2 роки тому

    why is that error comes everytime
    i've installed neuralintents already and it is still giving me the errors ,also with genericAssistant and speechrecognition and pyttsx3
    how may I fix it Please help me with it

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

    i tried to download neuralintents but if it comes to 101mb and then is start showing error

  • @pqritzzieler8459
    @pqritzzieler8459 2 роки тому

    It doenst seem to be listening even tho my code is excactly like yours (I basically deleted all my own code just to test if it is something i messed up there) it seems like the error is at recognizer.listen(mic)

  • @harrylongofficial6248
    @harrylongofficial6248 2 роки тому

    Is the Neuralintents working for apple silicon? I keep getting this come up: Process finished with exit code 132 (interrupted by signal 4: SIGILL) ... And when I looked it up, some were saying it's to do with
    arm64 or some compatibility error. I'm confused...

  • @rahulranjan7004
    @rahulranjan7004 3 роки тому

    Sir. I am working on a project and I am stuck at something.. Can we get the TAG as output ? I mean return "tag" which I mentioned in the intents.json file from the GenericAssistant... actually I wanted to do apply it in if/else statements not in functions.. like that.....

  • @jankolodziej2752
    @jankolodziej2752 3 роки тому

    That was epic good work !!!!!

  • @ahmetarkan9612
    @ahmetarkan9612 2 роки тому

    Hi, is it possible to open a picture saved in my pc and see the picture while voice assistant is talking about it? Thank you.

  • @spuzzy
    @spuzzy 2 роки тому

    Beautiful is better than ugly.
    Explicit is better than implicit.
    Simple is better than complex.
    Complex is better than complicated.
    Flat is better than nested.
    Sparse is better than dense.
    Readability counts.
    Special cases aren't special enough to break the rules.
    Although practicality beats purity.
    Errors should never pass silently.
    Unless explicitly silenced.
    In the face of ambiguity, refuse the temptation to guess.
    There should be one-- and preferably only one --obvious way to do it.
    Although that way may not be obvious at first unless you're Dutch.
    Now is better than never.
    Although never is often better than *right* now.
    If the implementation is hard to explain, it's a bad idea.
    If the implementation is easy to explain, it may be a good idea.
    Namespaces are one honking great idea -- let's do more of those!
    Traceback (most recent call last):
    File "c:\Users\Demia\Aichatbot\Aichatbot Code.py", line 125, in
    assistant = GenericAssistant('intents.json', intent_methods=mappings)
    File "C:\Python310\lib\site-packages
    euralintents\main.py", line 53, in __init__
    self.load_json_intents(intents)
    File "C:\Python310\lib\site-packages
    euralintents\main.py", line 58, in load_json_intents
    self.intents = json.loads(open(intents).read())
    FileNotFoundError: [Errno 2] No such file or directory: 'intents.json

  • @SparePlayss
    @SparePlayss 3 роки тому +1

    ah yes, now I will have intelligent voice assistant which will always tell me to write comments on my code
    let's go

    • @NeuralNine
      @NeuralNine  3 роки тому

      while True: say("Add comments to your code") :D

    • @SparePlayss
      @SparePlayss 3 роки тому

      @@NeuralNine OMEGALUL

  • @blackenedistheend
    @blackenedistheend 2 роки тому

    It doesn't work for my. When i press run, it just does nothing.

  • @zrosub8864
    @zrosub8864 3 роки тому +4

    Great video. I'm trying to use the static responses from the json intents file but it won't work. How do I get a string response from a specific tag in Json file and pass it to my text_to_speech function?

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

    what is the command to get the basic structure of project??

  • @fatimasalem1801
    @fatimasalem1801 2 роки тому

    when executing
    f.mp3 is not recognized as an internal or external command operable program or
    bath file
    Please what is that solution

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

    Hey! Your videos are quite helping. I want the gtts model to speak in some specific voice instead of default google lady. I want to save the input text in my own audio. How can I do that? Please help...

  • @madebymate4870
    @madebymate4870 2 роки тому

    thanks for the video! works very well

  • @pinguimaya
    @pinguimaya 3 роки тому +2

    How to install:
    py -m pip install speechrecognition
    py -m pip install pyttsx3
    py -m pip install neuralintents

  • @atlascentum4644
    @atlascentum4644 2 роки тому

    cant do pip install neuralintents its giving me an error
    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

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

    when I run it I say hello but is says nothing back

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

    My class mate told me that i have to make new friends, and i took that personally:

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

    Does anyone know the versions he uses in these videos? im trying to recreate a lot of this stuff but i cant find the correct combination of versions to make anything work