Создайте умного чат-бота с искусственным интеллектом, используя Python и машинное обучение ⭐Подпишитесь! ⭐ ⭐Поддержите канал и/или получите код, став сторонником на Patreon:
⭐Полезные книги по программированию ► Python (Hands-Machine-Learning-Scikit-Learn-TensorFlow):
Многообещающие новые исследования почек:
Веб-сайт клиники Майо о хронической болезни почек:
source
According to researches by the adsmember team
article is not defined for python programming error
Awesome content as always. How do we get access to your codes pls?
Voice bot..? Please upload video for voice bot as well…you made it more simple
Instructions unclear I built skynet
This is not seems like ai bot where is data model?
Which algorithm is used in this?
Jesus christ I'm sick of people claiming this is Artificial intelligence. You are literally hardcoding what it's supposed to say and using a random choice. This has nothing to do with AI, and it's not learning. It's a nice tutorial and all, though saying it's a "Smart AI" is misleading.
Some clarifications: This chatbot is not able to answer any questions about a given text corpus. It uses a comparably simple approach (cosine similarity) to compute the relative distance between a query (the request) and sentences contained in a corpus. Responses like greetings are chosen randomly from a predefined list. The bot has no memory (state tracking) nor does it use ML or AI techniques. It can also not identify user "intents".
It is therefore neither smart nor does it use ML/AI techniques.
Getting error
When i try to run the last part of the code , in the line
print('Doc bot: '+ bot_response(user_input))
I am getting an error like "TypeError: can only concatenate str (not "NoneType") to str"…. Can anyone help me with this please!
Would you be able to launch this on a website someone?
Hello! I am close to the end of this project! I actually had some trouble doing the end. My chatbot wouldn't respond to my questions. Instead, it would give me an error message. When I said, "end" or "bye" it would close the chat, which is correct. Here is my code for starting the chatbot:
#Start The Chat
print("Kally: Heyo! I'm Kally! I'm here to help you if you have any questions on the pros or cons about homework! If you want to exit, please type end.")
exit_list = ['exit', 'bye', 'see you later', 'bye', 'quit', 'break', 'end', 'end chat']
while(True):
user_input = input()
if user_input.lower() in exit_list:
print('Kally: Ok! Talk Later! Enjoy Your Day!')
break
else:
if greeting_response(user_input) != None:
print('Kally: '+greeting_response(user_input))
else:
print('Kally: '+bot_response(user_input))
The error message said:
UnboundLocalError: local variable 'bot_response' referenced before assignment
May I please have some help? Thank you for your video by the way!
Amazing tutorial ,can you make a chatbot song recommender system?
Everything gone correct but I am getting error greeting response sir
Which domain is used in this project??
My dude 🍻
Code didn't work!???
what dataset are you using?
23:56 I don't understant
Neither do I 😎
it keeps giving me a syntax error
any suggestion on how to improve the answers ? or how to improve the model that we create out of article ?
Hello! I fixed the split/splot typo but I'm still getting the following AttributeError:
AttributeError: 'builtin_function_or_method' object has no attribute 'split'
Does anyone have any advice on how to fix this? Thanks x
Wondering if there's a limit to how many documents can be included for the bot's info pool
Anyone ever decide to base this video and make one on a website? Make the same chatbox but for everyone to use
Is there any way I can go about training this AI?
I tried deploying it using flask but import error is there(newspaper module)
by the way in the index_sort() function why are we sorting them manually instead of using in build sort()?
can anyone explain?
not sure if the chronic kidney disease is a cry for help or smth
can I ask how do you read and gather text from multiple articles?
I'M COMING MONIKA!!!💙💜💗💚
are these packages installed via pip install, are installed in our computer or are installed in cloud temporarily
Python is so lightweight and easy to install, why would I want to use a browser to write it instead?
Bro i am getting an error (NameError: name 'Article' is not defined) Help!
Hi there. I've been following along and have used this as a skeleton to develop my own AI Chatbot. Can I replace that sight of Chronical kidney disease with a much greater Information Based Server like google?
can i have the code just because im too lazy to write lmao
how can i add multiple articles?
That's freaking genius. appending the users sentence to the sentence list to keep info is a smart way to do it. nice one.
Instead of building the "index_sort" function from scratch you could also use python built-in sort() function.
Newspaper 3k showing error
couldyou teach propely idiot
Can you continue this series? Like how you make data pre-processing and cleaning for more accurate response?
Btw thanks for the video!
print('Doc Bot: '+bot_response(user_input))
in this line am getting error of
TypeError: can only concatenate str (not "NoneType") to str
alll working great but when i ask question this error comes
5:48