A dentist reservation chatbot combined with two techniques( flow based and machine learning based )
- Directory
-- chatBotApi
-- frontend
-- service1
-- service2 - For Service1(dentists resource):
cd service1
docker build -t service1 .
docker run -p 5001:5000 -t service1
- For service2(timeslots resource):
cd ..
cd service2
docker build -t service2 .
docker run -p 5002:5000 -t service2
- For chatbot Api
cd ..
cd chatBotApi
cd chatbotApi
pip install -r requirements.txt
cd chatbotApi
python3 __init__.py
- For frontend
cd ../../../frontend
open index.html in browser
(CROS has been fixed in backend part)
Note: the button in frontend page only works once, please copy text in button and paste it in input field, then click icon or press Enter to send message.
-
Greeting: Input Hello or similar word(based on Wit.ai)
-
List all the available doctors:
Input Dentists Information -
Retrive information about one doctor:
Input Dr. Alex -
Already reserved(chatbot reply all available time except reserved time)
-
Available timeslots
Like previous one -
Summarize booking Information
When input 12:00 pm. Chatbot will reply summarized infomation -
Cancel the booking
-
Swagger API document