Creators : YI ZHUANG (Lead Dev AKA Machine) Jose Zapata (Junior Dev AKA Human) Laura-Sofia, Jussi Steenari ,Matti valiaho.
Demo is here
1. The user types in something
2. front-end makes a post request to the back-end Nodejs with what the user types
3. nodejs post that user input to our AI
4. AI analize that user input, determain our user's intention and return a response to our Nodejs back-end that includes the instruction what should we do with it?
5. Nodejs does some filtering deciding which part of these informaton from AI to be returned to our front-end.
6. Front-end responsds to the user accordingly based on the piece of information Nodejs gives us.
using regex is an alternative
1. User types in something like: "i want to book appointment" or " i would like to make a reservation"
2. Then api.ai will know: this user's input wants to make an appointment. Then AI will return this intent back to nodejs which was defined by us already in the api.ai client.
3. in node.js and the front-end. If response.intentName==="book-appointment" do something.... else do something else.
npm install
in root folder and the client folder as well
if you have concurrently installed globally npm run dev
in the root folder
if not
npm run server
in root folder and npm start
in client folder
Use your own config. (sensitive stuff). check the config folder ``
1.I would like to book an appointment (using credit card number 4242424242424242 to pay)
-
Show me a list of appointments. (It will show you your appointments)
-
I would like to talk to a doctor
-
See a list of commands
-
I don't feel well
-
I am feeling sick
-
ask it anything :D