Build & Integrate your own custom chatbot to a website (Python & JavaScript)
HTML-код
- Опубликовано: 27 июл 2024
- In this fun project you learn how to build a custom chatbot in Python and then integrate this to a website using Flask and JavaScript.
Starter Files: github.com/patrickloeber/chat...
Get my Free NumPy Handbook: www.python-engineer.com/numpy...
Chatbot with PyTorch Tutorial: • Chat Bot With PyTorch ...
✅ Write cleaner code with Sourcery, instant refactoring suggestions in VS Code & PyCharm: sourcery.ai/?... *
⭐ Join Our Discord : / discord
📓 ML Notebooks available on Patreon:
/ patrickloeber
If you enjoyed this video, please subscribe to the channel:
▶️ : / @patloeber
~~~~~~~~~~~~~~~ CONNECT ~~~~~~~~~~~~~~~
🖥️ Website: www.python-engineer.com
🐦 Twitter - / patloeber
✉️ Newsletter - www.python-engineer.com/newsl...
📸 Instagram - / patloeber
🦾 Discord: / discord
▶️ Subscribe: / @patloeber
~~~~~~~~~~~~~~ SUPPORT ME ~~~~~~~~~~~~~~
🅿 Patreon - / patrickloeber
#Python #JavaScript
Timeline:
00:00 - Introduction
01:00 - Setup
05:14 - Project Files
08:15 - Flask app
15:41 - JavaScript code
25:47 - Standalone Frontend
----------------------------------------------------------------------------------------------------------
* This is an affiliate link. By clicking on it you will not have any additional costs, instead you will support me and my project. Thank you so much for the support! 🙏
The front-end part is exactly what I am looking for.
Ganz toll, danke!
wow, this is all i can say man. you just simplified how to create a completely separate front end and backend then connecting the two to communicate, that's awesome
Another fantastic video!!! Love your video series! I can't believe this is not getting millions of hits!
Hey man, this video is amazing, thanks for sharing. It really inspired me to work on something similar. Cheers!
Thank you so much, I have been stuck here in integration part, you made my life easier.
I can't find previous videos of this series
hey i need help
with integration
This is exactly the tutorial I needed. So helpful. Thank you Patrick!
Great tutorial..just what I need. Thank you.
really appreciated the entire video . Very easily explained .
Saved my Life once again!!, I am using your template with RASA backend.
Thank you for the amazing and consistent tutorials!
glad you enjoy it!
@@patloeber hey!i'm getting an error downloading punkt and i have to submit this project in my college this week. Can you please tell me some solution??
@@nandinitiwari6332 I have choosen this for my python mini project, as u hav already worked on this I would like to know in detail so could u share ur insta or telegram I'd if possible plz !!! N delete after I contact u
Amazing explanation thank you! New subscriber!
Great tutorials! thank you very much!
Great tutorial!! Thanks a lot for your time! You really make a good explanation with excellent idea. I really appreciate that. I just wondering if I have a full stack web application using MERN stack and javascript, is it possible to deploy and integrate this chatbox into that web? Thanks a lot for your video again! Hope you can have more on RUclips.
How would you go about created i log fil, that contains the chat conversation between "you" and the chatbot? Better to have it write to txt or CVS file?
Thank you so much for this! 😀
Greetings from Nairobi, Kenya. I have learned python just by being a strict follower of the @PythonEngineer. God bless you man
happy to hear that! greetings back :)
@@patloeber no te por preguntar lo paso para el día pop y q pop oportunidad porque ya q si ooooooo no puede ir para el día q se va hoy
Thank so much sir, hats off to you. Kudos to explanation
Hey man this is awesome.
I would really appreciate if you can make a crash course on python and js as I really liked your teaching style thanks a lot
..
Thanks Patrick! Great video!
Awesome Work!
Nice explanation sir , keep it up 🙌🥀🔥
Thank you so much for this vedio, it literally saved my time
nice tutorial, thanks 😊
Nice project and video!
Hey Python Engineer, thanks for an amazing tutorial. I have one question. Can we implement entity extraction with same model?
Regards,
you know full code explanation
then you help me to guide
It helps me a lot… now I am developing a web app about arrival time estimation of public transportation but meet difficult on flask and front-end. It’s really great video
Hi, Thanks a bunch for the tutorial!! My question is how to add speech recognition module in this chatbot ( I’ve searched all accross the RUclips but hadn’t found any tutorial on it) can you please provide some?
this is fantastic, thank you.
"It's very much appreciated, bro. Really helpful for me.
Thank you so much it's very helpful for me
Hello Patrick, very good Tutorial
Hi, thanks for teaching. I have had a problem with the accents on the Spanish language page. How can I solve that.
great video, thank you for this. I was wondering how I can delay the responses of the chatbot by a few seconds to seem more natural
Hi , thanks for tutorial. I have one question. How can you setup the chatbot in another language?
Is there any way to implement this in a java project? I'm using java swing for the front end
Thanks
How can i get some dynamic responses hitting an external API and provide in my chat response using placeholder or appending with the responses in intent json
May i have question? why does it work on venv but it doesnt work on real directory? even i have the same dependencies
hey, Patrick Loeber, what plugins have you installed to work with ?
Very Nice video and explanation! I was wondering how to keep the state management of a conversation for a more custom chatbot, where there can multiple back and forth questions and answers between bot and user. I know that REST API (Flask) is supposed is State-less, however when having a back and forth conversation, definitely state should be managed. Do you have any ideas on this please?
I'd recommend using a front-end framework like React or Vue to flesh out the UI and include stuff like state management more easily
hello sir, thanks for the tutorial. can i ask where i can fine the word "undifined" in the folder?
Well explained. I like the JavaScript output
please i need your help the chatbox isn't popping up can you share you app.js file if yours worked please, thanks in advance
thank you helped a lot!!
Thanks. This was really helpful for my graduate project.
i'm also doing the same for my graduate project did it work?
is it working ?
@@bonyimakaveli633
Superb as usual, I have 2 doubts plzz help if someone can:
1. How to validate msg sent by user
2. How to access msgs typed by user in Flask.
Can it be deployed to django web? Can you please share the instruction?
Hi Patrick! How do we visualize the loss on a graph?
bht acha angraz hai bhai , love you, meri trf say aik chaye!
How do I make the chatbox window bigger? Changing the width x height on the css isnt changing
Great tutorial any chance of updating it to use the gpt3 API? :)
that is nice...but please can teach us how to do the setup installation, especially how to deploy the chatbot
Hearty thanks my friend
Hey Man! @Python Engineer I am following your courses ! Can I implement this bot to my django project ?
Hello can anyone explain to me how you can modify the intents.json responses to list down items eg a sample output to be something like this:
We sell
1.Tea
2.Coffe
3.softdrinks
Can we integrate this python chatbot to website using django and How?
Hello please can I get the full tutorial on this from the beginning
Which Python version used in this video? Thank you for helping.
Thank very much. I want to make chat with the seller and the client how can I do it
hey, can we put a tag inside each tag ??
Thanks for sharing, but where I can find the app.js code> it was not the in the git
thank you my frend i like this 😃
I didn't understand the part where you explained how to host this site. Can you explain how I can host my app? I think the $SCRIPT_ROOT variable part is somewhat unclear.
Is there a way to use docs and pdf directly to train model?
Thank s for this video, please make a video, how to deploy this app on c-panel and where we will make chat log for future find client query
Nice tutorial. Did it overfit?
Amazing! But may I know that does it support the Hong Kong’s Chinese? Thx so much.
Wonderful tutorial video! But I have a question: how can I add welcome message before the chat start? million thanks!
it's showing that (no module named 'regex._regex") while importing the ntlk
i wanted to add a api your chatbot which is ibm natural language understanding so that i cound analyse the emotion of conversion but cound get a way do it.... so can please me with this.
Amazing!!
Thanks!!
Please tell me how i deploy it on django (python framework)
i have a problem with the response system and also( "message": "Import \"torch\" could not be resolved")
My predict function isn't running, I've tried hard coding it but it still isn't working, please help
What do in windows for virtual environment set up please provide commands
Can I use this chatbot with my html website?
Great Series. Thank you for the tutorial. I need a small help. I like to know format the "data.path". how it is format? it will be good if you share the link of the data file?
hello
i made a chatbot using python how should i implement it on a website using flask
can u help me plz?
Hello Patrick! Amazing video! How do we host this online?
Great tutorial, would you happen to have the final code in git. Thank you so much for sharing.
where can i find repository for js and app files?
Hey can someone tell me if I want to connect the chatbot with my own site , so how can we do this
thanks for this great tutorial! How do I integrate this bot to a already built website?
I am just about to start with the video so can someone please tell me that does this bot saves our previous messages or they disappear when we refresh the project?
This running on windows or not because not pass command to run
i try this but is sohws jinja2 error what to do ? olz reply as soon as possible
Nice , clear alot 👌......bro will you start Data science series....if you start it may easy to learn from you...🔥
thanks for the feedback! I try
I wanted to ask you a Question if it is Possible to Create an AI chatbot GUI to chat with Json data, using C#.NET, React, OPENAI?
can anyone suggest how to integrate this chatbot using a widget on any website? Thanks.
Hey please make a video on introduction of DataClass..
Plzz🙏🙏
Hi Python Engineer, thanks for the video. A simple question, How can you setup the chatbot in another language? Is there any parameter which we could change for the natural language processing and the training?
Yes how?
@@jvedarutvija7517 Could it be Spanish? For example
How we add a sound effect to the chat bot?
Which editor are you using
While downloading nltk punkt I'm getting ssl certificate wrong version number error. Can someone help on how to resolve. I googled and tried all options but no luck.
how can i transfer chatbot to live agent
how can i implement this into my laravel website?
can someone tell me from where he is copy pasting the js code?
So if you wants to make the chat bot that is Base to faculty of science and agree culture. What should I do?
I have a problem here :
No module named 'flask'
From where u r copying everything in. Js file???
Thank you for the video, Please make a tutorial on making a own custom chatbot using Django and ReactJS
Bonjour monsieur c'est possible d'associé le chatbot conçu ici à Messenger ?