How open source can make your life as a software developer easier
Nowadays, the hotel industry is getting more complex. Hotels receive more and more requests from their clients and need to compete against their competitors. From market research, we have found out that larger hotels are getting up to 100.000 requests per year. And they are facing challenges over handling the requests manually.
Our solution – automation of the request handling process. Therefore, we have created an electronic echo (EECHO), A contextual AI Assistant which is based on the open-source machine learning framework RASA NLU as well as Tensorflow. EECHO solves that problem perfectly up to 95% of answering requests. On top of that, we integrated Open data hub to have more options regarding personalized answers. So you can also ask EECHO what you should do tomorrow and EECHO will find the perfect option for you.
SFScon21 - Pratheesh Kumar - EECHO - an open source, AI based contextual software for the hospitaliy industry
1. LIMENDO
AI based contextual software for the hospitality industry
Using opensource libraries
| 08.11.2021 | 1
By
Pratheesh Kumar
2. LIMENDO
AGENDA
1. Introduction to the hotel industry
2. NLP and NLU
3. Opensource NLP Libraries
4. EEcho Request Handler
5. EEcho Chatbot
6. Outlook
| 08.11.2021 | 2
4. LIMENDO
3
| 08.11.2021 | 4
NLP and NLU
Natural Language Processing(NLP)
• Natural language processing is a subset of AI, which involves programming computers to
process massive volumes of language data.
• It involves numerous tasks that break down natural language into smaller elements in order
to understand the relationships between those elements and how they work together.
Natural Language Understanding(NLU)
• NLU is to teach machines how to interpret and understand language inputted by humans.
• It aims to teach computers what a body of text or spoken speech means.
5. LIMENDO
Popular Opensource NLP Libraries
4
| 08.11.2021 | 5
Spark NLP
• More than 50 corpora
• Slow in performance
comparing with other libraries
• Memory independent
• can process input larger than
RAM Memory
• 55 trained pipelines for 17
languages
• Written in cython
• Faster and efficient to handle
large text data
• Optimizing for TensorFlow
• can support languages such as
Python, Scala and java
12. LIMENDO | 08.11.2021 | 12
● SentenceDetectorDL (SDDL),a general-purpose neural
network model for sentence boundary detection.
● Sample Request
● Sentence Identification
How it works?
Sentence 1: I need a room with a balcony.
Sentence 2: It would be great if I get a room which has a sauna in it.
Sentence 3: My wife is allergic to dust, so please offer rooms without carpets.
Sentence 4: And we are bringing our small pug puppy with us.
Sentence 5: Do you have a parking spot for e-cars with a charging station, so that I can charge my E-car?.
Sentence 6: We are possibly arriving at 10 pm, hope late night check-in is possible in your hotel.
11
13. LIMENDO | 08.11.2021 | 13
Category Labeling
Sentence Category Label
I need a room with a balcony. Balcony
It would be great if I get a room which has a sauna in it. Sauna
My wife is allergic to dust, so please offer rooms
without carpets.
Dust Allergic,
Rooms without carpets
And we are bringing our small pug puppy with us. Dog
Do you have a parking spot for e-cars with a charging
station, so that I can charge my E-car?.
E-car
We are possibly arriving at 10 pm, hope late night
check-in is possible in your hotel.
Late check-in
12
14. LIMENDO | 08.11.2021 | 14
Room availability check
• The list of captured categories are passed to the Database, rooms match with the customer requirements are extracted
13
16. LIMENDO | 08.11.2021 | 16
Project Outcome
Average request receive by a 5-star hotel per year - 15000
Time take for process the request per year – 52 days
Time take by EEcho to process the request per year – 21 hrs.
➢ 24/7 request handling can be possible
➢ Multi-lingual request can be handled by a single system
➢ Operational cost can be reduced to 90 to 95%
Other notable benifities
15
18. LIMENDO | 08.11.2021 | 18
Rasa
➢ Rasa is an open source machine learning
framework for building AI assistants and
chatbots.
➢ Rasa Core for holding conversations and
deciding what to do next
➢ Rasa NLU for understanding user
messages
Source: rasa.com
17
19. LIMENDO | 08.11.2021 | 19
Process Flow
Chatbot UI
Database (EEcho)
API Request
and
Response
Action server
Rasa core (NLU, Domain,
Stories, etc.)
NLU
18