Your chatbot tutorial was absolutely brilliant! I am grateful for the knowledge you shared with us. I gained a lot of valuable insights and feel confident in my ability to create a chatbot now. Thank you for your guidance and expertise.
I watched your PlayList about the ChatBot with Python, my question is, how can i make it so the chatbot also considers the context of the chat when calculating the intent, for example if you talked alot about the intent/topic of food like this for example: "Hey what can you tell me about the list of dishes that your restaurant serves" "Answer" "What is the most expensive one?"
I appreciate affords you took to explain all the concepts thoroughly that very useful to make a chatbot....but I just want to know how can I add it to my website .
i have followed all the steps,but it is showing that get response and bot name are not accessable....could you be able to tell me whats the problem because i have tried all the silitions available online but i am unable to resolve the issue.
I love your videos ,they ve been a great help for me! Do you have any tutorials or info on how to make one of these chatbots with an ordering system and storing info given to the chatbot in a database?I would be willing to pay for such a tutorial :)
hello, Patrick I have a question: self.msg_entry = Entry(bottom_label, bg="#2C3E50", fg=TEXT_COLOR, font=FONT) self.msg_entry.place(relwidth=0.74, relheight=0.06, rely=0.008, relx=0.011) why the relheight equals to 0.06?????? In my opinion, relheight means the relative height to the parent container, which is bottom_label, so the relheight should be 0.9 or 0.8??? I think 0.06 is too small. I can't understand, looking forward to your reply, thanks
Another question, I downloaded the code and it has 0 errors now and it runs perfectly fine and says "hi, pycharm" but the window doesnt pop up, I dont understand ?
bro can u help me i wrote this code in vs code but when i run app. py it runs only in terminal and the gui window doesnt appear i have properly installed tkinter still it runs in terminal only
sir when I am importing that function(chatbot) on my main program it will show error... self.app=ChatApplication(self.new_window) TypeError: __init__() takes 1 positional argument but 2 were given
Hi! thanks for tutorial. I need to know how can I extract the word in the patterns that match the word in the sentence. For Example for tag in the code you have "tag = tags[predicted.item()]". Is there any way to do this?
how to run in as a webserver...........when i try to run gui ..in docket container....gui is not workih i want to run tk gui in web server how we do that
in my case when i run app.py it doesn't gives me tkinter screen it gives me command chatbot which we have done till part4 why this issue happens can you help me
Your code works very but I can't seem to implement my own chat response into the GUI I actually created a chat bot that ran only on my terminal but now I want to run in as a GUI using tkinker
The idea of using Python GUI is really cool. However, I just don't understand why Python GUI interface still so "1995". Why we can't have more modern design/layout? I know that Python is NOT a design thing. But, will be so nice to use Python WITH a cool layout. Do you know what I mean? I know that there's a way to use HTML to create a layout and use with python and kind converto do an app. I forgot the name of this "package". Anyway. I hope that we can have better Python GUI soon. Even so, Thank You for your content man. You have great stuffs here.
If you like this, you might also enjoy this video where I deploy the chatbot using Flask: th-cam.com/video/a37BL0stIuM/w-d-xo.html And check out Tabnine, the FREE AI-powered code completion tool I used in this video: www.tabnine.com/?.com&PythonEngineer * ---------------------------------------------------------------------------------------------------------- * This is a sponsored link. You will not have any additional costs, instead you will support me and my project. Thank you so much for the support! 🙏
Am currently trying to see how to make long texts continue on a different line. It might just be a single argument, it anyone knows, please feel free to reply to me. Thanks in ady
@@nwokolobueze7291 Try this if still working on project, I have totally revised the app, this works and is smoother, I think from memory you will be able to just back up the orig (in case) cut the relevant part and replace with this ### ***************** TEXT_WIDGET with NEW scroll bar WORKS BETTER & does not block text ******************** self.text_widget = Text(self.window, width=20, height=2, bg="#17202A", fg="#EAECEE", ### Text window size colour etc font="Verdana 12", padx=5, pady=5) ### Font and x and y padding self.text_widget.place(relheight=0.745, relwidth=1, rely=0.08) ### 75% of the space used by this widget self.text_widget_scrollbar = Scrollbar(self.text_widget, bd=0) self.text_widget_scrollbar.pack(fill=Y, side=RIGHT) self.text_widget = Text(self.text_widget, yscrollcommand=self.text_widget_scrollbar.set, state=DISABLED, bd=1, padx=6, pady=6, spacing3=8, wrap=WORD, bg="#17202A", fg="#EAECEE", font="Verdana 12", relief=GROOVE, width=10, height=1) self.text_widget.configure(cursor="arrow", state=DISABLED) ### cursor > when over widget, DISABLE STOPS people typing text here self.text_widget.pack(expand=True, fill=BOTH) self.text_widget_scrollbar.config(command=self.text_widget.yview) ### *********************************************** bottom label *******************************************
Your chatbot tutorial was absolutely brilliant! I am grateful for the knowledge you shared with us. I gained a lot of valuable insights and feel confident in my ability to create a chatbot now. Thank you for your guidance and expertise.
Thank you, was actually looking for this, your original chatbot tutorial was the best I've found on TH-cam so this is very much appreciated! :D
Thanks! Yeah I figured the original bot only in the terminal was not super cool :D
can i have the link to that tutorial please thanks
This was it, it's multiple parts:
th-cam.com/video/RpWeNzfSUHw/w-d-xo.htmlsi=eRZAOgdga0FE2Z2q
What an awesome tutorial. I love your prowess when it comes to using already existing modules and methods.
This is great. My first application with Tkinter, made it easy to follow along and great explanations!
I watched your PlayList about the ChatBot with Python, my question is, how can i make it so the chatbot also considers the context of the chat when calculating the intent, for example if you talked alot about the intent/topic of food like this for example: "Hey what can you tell me about the list of dishes that your restaurant serves" "Answer" "What is the most expensive one?"
I appreciate affords you took to explain all the concepts thoroughly that very useful to make a chatbot....but I just want to know how can I add it to my website .
Thank you sir.
U just completed the UI part for PyTorch bot.
That bot helped me alot in learning!
nice! glad you like it :)
Hi. Could you please make a tutorial on how to create a streamlit GUI for this Ai chatbot?
This is a great tutorial - thanks!! Do you have any guidance on connecting this to a DB to get the intents? Would be great to see :)
yes connecting to a database will be ideal. please expand this app and make a video on that
thank you! this has helped me twice already
Wow.... Nice and new style of tutorial
thanks Tomi. Do I have a new style :D ?
@@patloeber not really... I meant new type of tutorial, because you've never done a tutorial on GUI before
Thank you sir!! Actually I was finding exactly this kind of video. 🎉❤❤
This is a beautiful tutorial, Thanks a lot for sharing mate !!
Brillant work, sir i have a question can we train data to other languages like urdu, arabic etc
i have followed all the steps,but it is showing that get response and bot name are not accessable....could you be able to tell me whats the problem because i have tried all the silitions available online but i am unable to resolve the issue.
can you upload the "app.py" file in github?
Can you provide details on how to run the UI in docker hosted on Windows? :)
how can i integrate the chatbot to telegram
I got everything working just fine. Also, I am going to search on how to link such chatbot with a react front end.
Please make a video on how to download and add dataset in our chatbot
What extension are you using for terminal? it looks clean. BTW nice tutorial as always.
I tried everything about unable to convert it to application.... everytime I get error no module name json
I want to know how to make the Bot speak and accept user input from a microphone. If you could point me in the right direction that would be great!
Thank you so much, great series :)
Perfektes timing, wollte gerade genau das für eine Projektarbeit machen :D
Nice! Viel Erfolg!
I love your videos ,they ve been a great help for me! Do you have any tutorials or info on how to make one of these chatbots with an ordering system and storing info given to the chatbot in a database?I would be willing to pay for such a tutorial :)
Hi thanks for the course ! can u help to connect this bot with django and react frame works.Thanks
Yeah .. great idea
might be a good project for the future :)
hello, Patrick
I have a question:
self.msg_entry = Entry(bottom_label, bg="#2C3E50", fg=TEXT_COLOR, font=FONT)
self.msg_entry.place(relwidth=0.74, relheight=0.06, rely=0.008, relx=0.011)
why the relheight equals to 0.06??????
In my opinion, relheight means the relative height to the parent container, which is bottom_label,
so the relheight should be 0.9 or 0.8??? I think 0.06 is too small.
I can't understand, looking forward to your reply, thanks
can you make a tutorial with audio input please, i find how to convert voice to text but i couldnt implement to the chatbot
I have one: th-cam.com/video/z-3ITXhRfKE/w-d-xo.html
@@patloeber thank you 💖
Great tutorial, but how to detect entities like city name, peoples name, and etc on your chatbot model ? thanks
Another question, I downloaded the code and it has 0 errors now and it runs perfectly fine and says "hi, pycharm" but the window doesnt pop up, I dont understand ?
How would I get the Chatbot to respond with a hyperlink
Thank you for this tutorial.
I was wondering if you could make a video about vs code extensions that will help us :)
I already have one on my channel, but try to do another one in the future
how to run the program in vs code?
bro can u help me i wrote this code in vs code but when i run app. py it runs only in terminal and the gui window doesnt appear i have properly installed tkinter still it runs in terminal only
plz reply
Reply
when I run app.py I am not able to get the GUI pop up, though the execution went fine.
You might be missing an important line of code.
Hello, this chatbot is awesome. I was wondering if you could make also the web type of chatbot? Thank you.
better off learning web development or django
Great video. Can you also please tell us the theme that you are using in VSCode?
thanks! Night Owl
Can I make the Chatbot run another Python Script in my computer? Can you please show me how to do it?
Sir when I am trying to convert it into application with pyinstaller ...I am getting error no module name json
sir when I am importing that function(chatbot) on my main program it will show error...
self.app=ChatApplication(self.new_window)
TypeError: __init__() takes 1 positional argument but 2 were given
Helped me Much!
Hi! thanks for tutorial. I need to know how can I extract the word in the patterns that match the word in the sentence. For Example for tag in the code you have "tag = tags[predicted.item()]".
Is there any way to do this?
how to run in as a webserver...........when i try to run gui ..in docket container....gui is not workih i want to run tk gui in web server how we do that
is it possible to deploy this on a website ?
hello! how do i make the bot send a link as a response?
in my case when i run app.py it doesn't gives me tkinter screen it gives me command chatbot which we have done till part4 why this issue happens can you help me
Hello how can you record chats in a txt document?
Your code works very but I can't seem to implement my own chat response into the GUI
I actually created a chat bot that ran only on my terminal but now I want to run in as a GUI using tkinker
have you fixed it yet? I have trouble like you and i don't know how to fix it
Thank you
Nice tutorial
But really, tkinter apps looks good in Mac compare to windows
Yes, true
How can we add url as response??
what is data.pth purpose?
The idea of using Python GUI is really cool. However, I just don't understand why Python GUI interface still so "1995". Why we can't have more modern design/layout? I know that Python is NOT a design thing. But, will be so nice to use Python WITH a cool layout. Do you know what I mean? I know that there's a way to use HTML to create a layout and use with python and kind converto do an app. I forgot the name of this "package". Anyway. I hope that we can have better Python GUI soon. Even so, Thank You for your content man. You have great stuffs here.
yeah I absolutely know what you mean :D
Hi. I'm facing problem to create an independent executable file(combinig all trained data). What code shall I put on terminal ?
I think you should run the train.py in the terminal using the python train.py command
Did you find the solution...I don't think so you can convert json file
Is there a way we can add an image icon on the left of the chatbot response instead of having "sam" ?
woah that's a great idea, were u able to implement it??? please tell me also
how can i make it response with API
If you like this, you might also enjoy this video where I deploy the chatbot using Flask: th-cam.com/video/a37BL0stIuM/w-d-xo.html
And check out Tabnine, the FREE AI-powered code completion tool I used in this video: www.tabnine.com/?.com&PythonEngineer *
----------------------------------------------------------------------------------------------------------
* This is a sponsored link. You will not have any additional costs, instead you will support me and my project. Thank you so much for the support! 🙏
How to add speech to text
hi! how can we add URL as response?
something to change in json intent file? appreciate your help.. thanks :)
hi,, did you find any solution to implement url as a response. please tell me if u did
Can you implement python chatbot on joomla website
i am receiving an error no such file directory data.pth please tell me how to fix it
you need to clone the repo and do the training, then it save the file to data.pth
I installed PyTorch and it runs on cmd but shows an error at import torch when I run train.py
Please help.
what Error? maybe you don't use the correct virtual environment
wallpaper link?
Can I integrate this to any website
not this but checkout my latest video, there I show how to deploy it to any website
Hello sir when I run the program
It's showing error that module not found
: No module name 'chat'
Can u please help me out
have your issue resolved?
yeah, you need the chatbot files name to that part
is it also possible to make the text returned by bot as a speech?
i believe it is by making the response of the bot speak with the pyttsx3 module
@@eepikki i have tried that...but my problem is speech is coming first..after that text is getting displayed
It is Possible show images for responses
haven't tried this but it should be possible
can i put this chatbot into heroku cloud
not this one but check out my latest video :)
I keep getting stuck at something called serialization, idk what to do ?
you need to train the model and serialize + save it correctly (you can use the code on github)
@@patloeber Okay thanks a lot !
How can I deploy this chat on mobile app using flutter ?
Anyone can help me please with any tutorials ?
sadly for long texts the scrollbar is in the way
See my fix in the above post
Is it possible to add back ground image in tkinter
yes:
background_image=tk.PhotoImage(...)
background_label = tk.Label(parent, image=background_image)
This is not working
how can i fix this
File "app.py", line 69
self.msg_entry.delete(0, END)
^
IndentationError: unindent does not match any outer indentation level
wrong indentation (I recommend to use always 4 spaces)
@@patloeber yes I fixed it. Thanks for ur reply
@@himantadihingia7609 awesome!
Very Nice
Thanks
please upload code sir
Am currently trying to see how to make long texts continue on a different line. It might just be a single argument, it anyone knows, please feel free to reply to me. Thanks in ady
I think the scroll bar is what is blooking the text.
@@nwokolobueze7291 Try this if still working on project, I have totally revised the app, this works and is smoother, I think from memory you will be able to just back up the orig (in case) cut the relevant part and replace with this
### ***************** TEXT_WIDGET with NEW scroll bar WORKS BETTER & does not block text ********************
self.text_widget = Text(self.window, width=20, height=2, bg="#17202A", fg="#EAECEE", ### Text window size colour etc
font="Verdana 12", padx=5, pady=5) ### Font and x and y padding
self.text_widget.place(relheight=0.745, relwidth=1, rely=0.08) ### 75% of the space used by this widget
self.text_widget_scrollbar = Scrollbar(self.text_widget, bd=0)
self.text_widget_scrollbar.pack(fill=Y, side=RIGHT)
self.text_widget = Text(self.text_widget, yscrollcommand=self.text_widget_scrollbar.set, state=DISABLED,
bd=1, padx=6, pady=6, spacing3=8, wrap=WORD, bg="#17202A", fg="#EAECEE", font="Verdana 12", relief=GROOVE,
width=10, height=1)
self.text_widget.configure(cursor="arrow", state=DISABLED) ### cursor > when over widget, DISABLE STOPS people typing text here
self.text_widget.pack(expand=True, fill=BOTH)
self.text_widget_scrollbar.config(command=self.text_widget.yview)
### *********************************************** bottom label *******************************************
Nice video
Thanks
can you give me all the details about frontend and backend. What is json and everything?
i am new to python
yes because some random youtube guy is definitely going to tell you literally everything about python in a single comment