tusmanakhter / MigrantHub

MIT License
4 stars 3 forks source link

Chatbot #144

Closed Smoudii closed 5 years ago

Smoudii commented 5 years ago

Added a Chatbot in the Sidebar of the website. It can greet the user, hold a basic conversation and help the user click on 'Services page' & 'Events page'.

User Story: #131

Demo Steps: 1 - Log in to application 2 - Write 'Hi' or any greeting to the Chatbot located in the left, at the bottom of the sidebar 3 - Chatbot should greet you back and welcome you on the website. 4 - Write "Help" 4.1 - Output should be: What can I help you with? 5 - Write Services 5.1 - Output should be: - To see all services, click on 'Services Page' just above me! 6 - Repeat step 4 7 - Write Events 7.1 - Output should be - To view all events, click on 'Events page' in this sidebar just above me! 8 - Write basic conversation starters such as: Whats up, How are you or I love you 8.1 - Chatbot should answer you

YOU NEED NEW SERVER ENVIRONMENT VARIABLES FOR THIS TO WORK! MESSAGE ME AND I WILL SEND THEM TO YOU

Smoudii commented 5 years ago

@iamlax The chatbot gets trained in the Dialogflow console. I give it examples of inputs and responses to them over there. Thus, it is not visible in the code. Here are the situations that are currently implemented and their outputs:

I will modify the code to reflect your comments