How to create an accurate Chat Bot Response System in Python Tutorial (2022)

  Рет қаралды 61,087

Indently

Indently

Күн бұрын

Пікірлер: 112
@kmaltman
@kmaltman 10 ай бұрын
Have watched two of yours so far...... BY FAR THE BEST TUTORIALS I HAVE EVER WATCHED
@Indently
@Indently 10 ай бұрын
Thank you! I'm happy you enjoy my teaching style :)
@kaiserkonok
@kaiserkonok 2 жыл бұрын
This channel is a great resource for us. 🔥🔥
@ban_droid
@ban_droid 2 жыл бұрын
Its so shame that he doesn't get many views yet
@kaiserkonok
@kaiserkonok 2 жыл бұрын
@@ban_droid yeah. I agree with you 💯
@Indently
@Indently 2 жыл бұрын
Don't worry about that guys! I'm just happy if it helps :)
@TheGoatsy
@TheGoatsy 6 ай бұрын
Two years of actual great content. But watching this video feels weird without your iconic static typing
@mwishampandebaylon
@mwishampandebaylon Жыл бұрын
Seems fantastic too me really perfect without even machine learning and neurons...
@reauvu
@reauvu 10 ай бұрын
Thank you thanks thank you thank you i havve a project and this is the only tutorial that worked thank you so much it's so easy and understandable and doesn't require alot of steps thanks you saved my life
@Indently
@Indently 10 ай бұрын
Glad it helped!
@devbarman4319
@devbarman4319 10 ай бұрын
How can we integrate this chatbot into the Django website???
@kingslayer878
@kingslayer878 2 жыл бұрын
Best channel ever
@Stellahaha123
@Stellahaha123 11 ай бұрын
Thank you so much for this amazing tutorial ❤
@Indently
@Indently 11 ай бұрын
Glad it was helpful!
@BanyoPK
@BanyoPK Жыл бұрын
Awesome tutorial!!! new sub, you have a great way to explain things keep the great job!!
@kathamehta3317
@kathamehta3317 2 жыл бұрын
Can you show how we can add options for people to select when talking to the bot?
@gracyanand9992
@gracyanand9992 2 жыл бұрын
That was so helpful . Thank you so much for making this
@Masterlewger
@Masterlewger Жыл бұрын
Time to work on my own chatbot
@الفليلهوليله-ك1ق
@الفليلهوليله-ك1ق 2 жыл бұрын
thank you ! you are awsome !
@brendensong8000
@brendensong8000 2 жыл бұрын
Another great video! Thank you!
@febyardiansyah2164
@febyardiansyah2164 2 жыл бұрын
Thank you, I enjoyed the tutorial :)
@casvera-le8bi
@casvera-le8bi 2 жыл бұрын
hi! i have a problem with opening the json file, when i run the code the bot only responds with 'None' , the console doesnt print 'loaded file succesfully', i dont know how to fix it :(( thank you for the tutorial pls help!
@darkdiegoo00
@darkdiegoo00 Жыл бұрын
thank you very much dude, im making some changes but taking your project as the core. rly appreciated.
@grayello
@grayello Жыл бұрын
thank you so much for this!😭🙏
@aineruginyte2339
@aineruginyte2339 Жыл бұрын
Hello Indently! thank you for the video, it is very useful. Is there any video, where you teach how to implement such bot into a desktop application? I wrote a bot (based on this video) that could be used by other people who have nothing to do with programming. They just ask a question and the bot replies. How can I create it into a desktop application? Thank you in advance,
@Obey-Njanjeni
@Obey-Njanjeni Жыл бұрын
find the pyinstaller library
@mjeott9656
@mjeott9656 5 ай бұрын
mine said import random_responses "could not be resolved" any idea to fix this guys?
@navyareddyveeram
@navyareddyveeram Жыл бұрын
Can we implement it with Django??
@antoineantoine8286
@antoineantoine8286 Жыл бұрын
Hello! how to integrate word recognition in the program for example, so that the program knows that "information" = "informations".
@oloyolopl
@oloyolopl Жыл бұрын
So I wanted the bot answers to be random (for my discord bot, which I made following your other tutorial). Can I just apply the randomizing algorithm from random_responses and change file to .py (changing all of its occurences in code too) or is it somehow .json specified. I'm not sure how to type this question in google so I'll try asking here :P
@Obey-Njanjeni
@Obey-Njanjeni Жыл бұрын
that can do but try to maintain the answers to suit the questions, either you can cluster the responses then randomize from the cluster
@adityar4805
@adityar4805 Жыл бұрын
@Indently not able to run from the second response type pls give the solution
@uferis
@uferis Жыл бұрын
How can i implement this to my discord chat bot? I've watched both of your videos (the discord bot one and this one)
@liamloveslunch
@liamloveslunch 2 жыл бұрын
im getting an issue when i try to print the response_data. it says no such file or directory as bot.json. what do i do?
@Indently
@Indently 2 жыл бұрын
Learn about directories and paths in folders, it’s not in a directory accessible by the file
@liamloveslunch
@liamloveslunch 2 жыл бұрын
@@Indently I ended up figuring it out. thank you
@himanshusrivastav4744
@himanshusrivastav4744 Жыл бұрын
@@liamloveslunch how did you fix that..?
@ashutoshovhal3433
@ashutoshovhal3433 2 жыл бұрын
There is an error in my case,the program runs and you: appears but after that whatever i type gets an error that it is not defined
@ohjoshmagosh7239
@ohjoshmagosh7239 Жыл бұрын
Why does my python not look like yours mine is just a terminal is this a program that supports python?
@wolfven4623
@wolfven4623 Жыл бұрын
Is there a way to print a welcome line before the user input? I'm new to python and not sure where to look for advice. Thank you.
@mgames3209
@mgames3209 Жыл бұрын
Did you do it yet?
@godsgrace1162
@godsgrace1162 Жыл бұрын
bro just write a print("message /n") line before the loop and ur done
@SCAM-BUSTER.777
@SCAM-BUSTER.777 2 жыл бұрын
Non-coder. Have you made a chatbot which you can share with us and which we can enjoy chatting with please?
@bavisettymounika6380
@bavisettymounika6380 2 жыл бұрын
Can you please tell how to deploy this chatbot into an website...
@shravanms3515
@shravanms3515 Жыл бұрын
How to place it in a interface using tkinter
@arunpaul497
@arunpaul497 Жыл бұрын
Do you have this in the report format so that it will be very useful for me,to do the project
@daviddoss2851
@daviddoss2851 2 жыл бұрын
Thank you so much, do you have social media (other than your Twitter) so I can follow you there? This was a great help for my project.
@alexmartin225
@alexmartin225 2 жыл бұрын
Can you please explain what's the purpose of required_score and response_score? . I did not get it :(
@Obey-Njanjeni
@Obey-Njanjeni Жыл бұрын
the response score is there to rank the responses and then take the response with the highest score, i think the required score is for showing the minimun score required for any response to be considered a response
@enriquecastillo5571
@enriquecastillo5571 2 жыл бұрын
Love the video like the channel. New sub
@jordy789
@jordy789 2 жыл бұрын
Hello! can you create a video on how to create a bot on facebook user account not on page using python or js ?
@somo3222
@somo3222 2 жыл бұрын
I need help can you make a simple design for this chat bot please
@lovinsongaming
@lovinsongaming 2 жыл бұрын
what app do you use in the video ,and can you give the link?Thankyou
@raghavsingh1078
@raghavsingh1078 2 жыл бұрын
bro there is a doubt how can we add more than 1 response in json file?
@Obey-Njanjeni
@Obey-Njanjeni Жыл бұрын
try na parse it as an array in json eg "response": ["I am good", "I am not good" ] and then put logic to take any position
@abhijonchatterjee641
@abhijonchatterjee641 Жыл бұрын
sir it is giving error in json.load part can anyone give the solution??
@Xardas_
@Xardas_ Жыл бұрын
Can I use a database instead of json file ?
@laak7982
@laak7982 2 жыл бұрын
how do i give the bot my token and make him use it
@siebelluxsimeeshrisujinapa8771
@siebelluxsimeeshrisujinapa8771 Жыл бұрын
Sir. Does this work with python 11??..
@WarThunder-j4x
@WarThunder-j4x Жыл бұрын
is okay to code this on Replit?
@aryftblx7
@aryftblx7 Жыл бұрын
i keep on doing something wrong can someone post the code?
@adarshkrsharma3039
@adarshkrsharma3039 Жыл бұрын
How can I use this chatbot in discord ?
@MOFOfromearth
@MOFOfromearth 2 жыл бұрын
Can this chatbot be considered Task Oriented ?
@shakesmarley4754
@shakesmarley4754 2 жыл бұрын
hey i have edited my code to say what i need it to how can i get this to listen for new messages on fb then reply please someone
@dylangreenwood8772
@dylangreenwood8772 2 жыл бұрын
hi i just left a response on your last chat bot video "what if you want to have multiple response for somthing like the you want the bot the either say "Hello" or "Hi" at random how would that be done" if you dont wanna have to go back and look for it but i have another question, how would some one create and application using this script ie. have an external app running the python code? thanks
@Indently
@Indently 2 жыл бұрын
You would have turn you responses into an array and the pick a random element from it. I recommend learning Python before trying to make this chat bot if you want to personalise it.
@تكنولوجيا360-غ4ت
@تكنولوجيا360-غ4ت 2 жыл бұрын
how ican connect this bot with a facebook page bro pliiiz
@Indently
@Indently 2 жыл бұрын
Yes you can
@Gilaric
@Gilaric Жыл бұрын
@@Indently ?????????????? What kind of response is this?
@programmer9267
@programmer9267 Жыл бұрын
Hi , I am interested for creating a chatbot , but the code in this vidio poor , if i want to create a bot that chat about treatment , can I write this code ? Or it's necessary to create a chatbot unsupervised. This chatbot is supervised , => it's limited , it's for the personal work not for the public , because the JSON file is sow poor . Mu question : I can write this code but write a large data of treatement in the JSON file , or it's necessary to be unsupervised like ChatGPT ?
@Obey-Njanjeni
@Obey-Njanjeni Жыл бұрын
u can use the database either, this is there to give you direction
@namansinghal031
@namansinghal031 Жыл бұрын
its not working in vs code so can u tell me whats the compiler name??
@Obey-Njanjeni
@Obey-Njanjeni Жыл бұрын
it should work since its a pure python,,, check if you had installed the python extension in vs code else run it on command prompt
@Klato_8
@Klato_8 2 жыл бұрын
I DID EVERYTHING CORRECTLY BUT WHEN I RUN IT, IT SAYS "Unindent does not match any outer indentation level", WHAT DO I DO
@Indently
@Indently 2 жыл бұрын
You read the error because the error says that you did not copy everything correctly.
@mlocverm
@mlocverm 2 жыл бұрын
Hello, Identity! Thank you so much for this (and the previous) video, it was really helpful me and my bot project! ✨✨ But now I'm wondering, is it possible to make the *"required_words"* inside the .json file have *OR* statement?? like this: "required_words": ["how", "are", "you" or "u"] Because I want to make the bot understand that *"you"* and *"u"* are the same and one of it should be exist on the sentence that user input it. So if user send "how are u" the bot respond will be the same as "how are you" edit: I'm sorry I misspell your name above 😅
@Indently
@Indently 2 жыл бұрын
I think I would have to re-write some logic for that, but you could consider replacing the word "u" with "you" each time the user writes "u", so that your chat bot can understand the correct version :)
@mlocverm
@mlocverm 2 жыл бұрын
@@Indently (Man you answered it so fast, thanks! 😆) Ohh I see I see. And I guess it can also be implemented for "aren't" to "are" and "not" 🤔 One more question is, what if the user say "how do you do?" instead "how are you?", or other sentence that really different but have same meaning? Do you have any idea how to solve it (because now I'm stuck with this problem 😅)
@mlocverm
@mlocverm 2 жыл бұрын
@@Indently oh wait nevermind it, I found out that if I translate user message to other language, and translate it back to english, it will work. So when user send "how do you do?" it will be translated to other language (any language except english), and then when it translated back to english the result is "how are you?". AND PROBLEM IS SOLVED!! Thanks for your time, Indently! 😁👍✨✨
@kanishkasrivastava
@kanishkasrivastava Жыл бұрын
Hello the code is running fine on pydroid 3 but not on vscode
@luccalautenbacherolsen9572
@luccalautenbacherolsen9572 2 жыл бұрын
Your girlfriend sounds cute
@kamalvasanth
@kamalvasanth Жыл бұрын
Software name pls
@godsgrace1162
@godsgrace1162 Жыл бұрын
can you/ anyone in the comment section teach me a way to intigrate this bot into my website...?
@Idk-b1f
@Idk-b1f 11 ай бұрын
This is for discord.
@mittachennakeshavareddy2294
@mittachennakeshavareddy2294 2 жыл бұрын
Application name?
@maty-wj1kz
@maty-wj1kz Жыл бұрын
well i dont use pydroid 3 i only use vscode and it did not work😕😕 but i still like the tutorial
@Indently
@Indently Жыл бұрын
It's vanilla Python, it should work on any Python version (or at least starting from 3.7)
@ThankYouESM
@ThankYouESM Жыл бұрын
I want a version that will very much help me at least write Python and JavaScript code.
@Obey-Njanjeni
@Obey-Njanjeni Жыл бұрын
i have a sought of
@smileyacr2380
@smileyacr2380 2 жыл бұрын
how would you do this in js ?
@Indently
@Indently 2 жыл бұрын
Yea
@Gilaric
@Gilaric Жыл бұрын
@@Indently ?????????????? What kind of response is this?
@PleasePoh
@PleasePoh 11 ай бұрын
How to get my visual Studio to be like yours
@Indently
@Indently 11 ай бұрын
Step 1, install PyCharm, now your Visual Studio looks like mine ;)
@PleasePoh
@PleasePoh 11 ай бұрын
@@Indently thankss🥲
@PleasePoh
@PleasePoh 11 ай бұрын
@@Indently can i do the code on normal vs also?
@nightfarming4205
@nightfarming4205 2 жыл бұрын
BRUUUUH in 2 of your totorials the stupid Import "random_responses" could not be resolved
@samouda717
@samouda717 Жыл бұрын
Is this rule-based or learning-based (that is, retrieval or generative)?
@securebrowser1479
@securebrowser1479 Жыл бұрын
retrieval
@rs_edits2024
@rs_edits2024 Жыл бұрын
What software is this
@Indently
@Indently Жыл бұрын
PyCharm
@egyptcountryball1592
@egyptcountryball1592 2 жыл бұрын
Why does it get syntax error evry time I type it does it not work on the new pythons
@Indently
@Indently 2 жыл бұрын
Your syntax is incorrect
@nmcli
@nmcli Жыл бұрын
Me thinking this was for discord
@GamerboiOneTwoThree
@GamerboiOneTwoThree Жыл бұрын
Why would you make the bot nice, I would make it say like Hai lol
@sruthi6470
@sruthi6470 2 жыл бұрын
Hey i want to give number and mail id to the bot how should I add the commands for that to
@Obey-Njanjeni
@Obey-Njanjeni Жыл бұрын
you can create another function where you check first before executing responses then give conditions after checking
@yushinix3097
@yushinix3097 Жыл бұрын
how to say the same thing,example you: say cat bot:cat
@Obey-Njanjeni
@Obey-Njanjeni Жыл бұрын
you can flag your input then train the code on if it finds that flag, it will return the same thing for example adding a dash you: -say Zimbabwe bot: Zimbabwe by this the flag is a dash and a comammad say, make sure it checks for this condition before replacing the punctuations, this is just an example of flagging to the rule
@tomcat9761
@tomcat9761 2 жыл бұрын
Is this AI?
@Indently
@Indently 2 жыл бұрын
I would not consider it as one, no.
@naveenwarrior7469
@naveenwarrior7469 8 ай бұрын
what is the ide used for this project
How to Easily Teach Yourself Python in 2022 (No click bait)
4:56
Мама у нас строгая
00:20
VAVAN
Рет қаралды 6 МЛН
Trick-or-Treating in a Rush. Part 2
00:37
Daniel LaBelle
Рет қаралды 46 МЛН
Players vs Pitch 🤯
00:26
LE FOOT EN VIDÉO
Рет қаралды 128 МЛН
Create a LOCAL Python AI Chatbot In Minutes Using Ollama
13:17
Tech With Tim
Рет қаралды 100 М.
If __name__ == "__main__" for Python Developers
8:47
Python Simplified
Рет қаралды 413 М.
How I Would Learn Python FAST in 2024 (if I could start over)
12:19
Thu Vu data analytics
Рет қаралды 535 М.
Modern Graphical User Interfaces in Python
11:12
NeuralNine
Рет қаралды 1,6 МЛН
Chat Bot With PyTorch - NLP And Deep Learning - Python Tutorial (Part 1)
20:42
How To Handle Permissions Like A Senior Dev
36:39
Web Dev Simplified
Рет қаралды 109 М.
Create Your Own AI Person (For Free)
23:33
Matt Wolfe
Рет қаралды 374 М.
Pydantic Tutorial • Solving Python's Biggest Problem
11:07
pixegami
Рет қаралды 286 М.