Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
338 views
in Technique[技术] by (71.8m points)

user interface - Is there any way to have button-like flow in chatbot created using Python, Flask, Chatterbot?

I have tried to create chatbot using Python with Flask framework and Chatterbot module. Since We are training data from YAML file, GUI programming to get answers it bit confusing. I want to get button for some of Bot response when user clicks on particular button, bot should reply accordingly.

For Example -

Human - search some music.

Bot - What kind of Music you like.? (Button 1 - Rock) (Button 2 - Classic) (Button 3- Pop)

(When user clicks on any of button, but should answer like that way. If user clicks on Pop)

Human - Pop

Bot - great, searching Pop music for you.!

Is there any way to structure YAML file for button.? Or any other way.?

question from:https://stackoverflow.com/questions/65914613/is-there-any-way-to-have-button-like-flow-in-chatbot-created-using-python-flask

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...