Closed Smoudii closed 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:
Greetings Input : "Hello", "Hi", "Hey", etc. Output: "Hi there! My name is Momo and I am MigrantHub's virtual assistant! I am here to guide you through this website and answer your questions!"
Help Input : "Help" Output : "What can I help you with?" Input option 1 : "Services" Output option 1 : "- To see all services, click on 'Services Page' just above me!" Input option 2 : "Events" Output option 2 : "- To view all events, click on 'Events page' in this sidebar just above me!"
Small Talk This is a library of input/output pairs that is preconfigured. It works with inputs such as "Whats up", "I love you", "How are you doing", etc.
I will modify the code to reflect your comments
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 - WriteServices
5.1 - Output should be:- To see all services, click on 'Services Page' just above me!
6 - Repeat step 4 7 - WriteEvents
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
orI love you
8.1 - Chatbot should answer youYOU NEED NEW SERVER ENVIRONMENT VARIABLES FOR THIS TO WORK! MESSAGE ME AND I WILL SEND THEM TO YOU