You are on page 1of 5

See discussions, stats, and author profiles for this publication at: https://www.researchgate.

net/publication/374144412

Voice-bot for Book An Appointment

Conference Paper · September 2023

CITATIONS READS
0 135

5 authors, including:

Nawanjana Madhushankha Pathirage Dinoj Gunasekara


Sri Lanka Technological Campus University of Colombo
1 PUBLICATION 0 CITATIONS 1 PUBLICATION 0 CITATIONS

SEE PROFILE SEE PROFILE

All content following this page was uploaded by Nawanjana Madhushankha Pathirage on 24 September 2023.

The user has requested enhancement of the downloaded file.


Voice-bot for Book An Appointment

N.M. Pathirage D.W.W. Gunasekara A.P. Kumara


Digital Lab, Sri Lanka Telecom PLC. Digital Lab, Sri Lanka Telecom PLC. Digital Lab, Sri Lanka Telecom PLC.
nawanjanamadhushankha dinojwaruna2@gmail.com anil@slt.com.lk
@gmail.com

N.D. Madanayake J.M.C.M. Bandara


Digital Lab, Sri Lanka Telecom PLC. Digital Lab, Sri Lanka Telecom PLC.
navindudananga123@gmail.com chathuramahasen@gmail.com

ABSTRACT Whether it's making a doctor's appointment, booking appointments


is a routine chore that people frequently perform. However,
This study examines the creation of a voice bot system that uses
conventional ways of scheduling appointments, such phone calls or
RASA NLU to schedule appointments. There is a rising need for
online forms, can be time-consuming, challenging and can result in
effective and user-friendly appointment scheduling systems in the
mistakes or misunderstandings.
current digital era. Traditional methods can come with difficulties,
such as lengthy procedures and probable mistakes. The goal of this
The inefficiency and user friction associated with the current
project is to develop an efficient speech bot system that can
appointment booking systems are the issues we address in this
comprehend and analyze user inquiries about scheduling
research. We want to give people a more streamlined and user-
appointments. The system seeks to accurately handle diverse user
friendly experience by utilizing RASA NLU to create a voice bot
requests, such as date formats, time preferences, and service types,
that will allow them to book appointments easily using natural
by utilizing RASA NLU. The system's ability to understand user
language commands and responses.
input and retrieve the data required for appointment scheduling is
significantly improved by RASA NLU. Additionally, the research
As pointed out in [2], Approximately 15% of the US gross domestic
manages and stores appointment information in a SQLite database.
product is accounted for by the healthcare sector. The amount of
The study's final findings show that RASA NLU was successfully
public funding required to support health care, which presently
used to build a speech bot system. The technology efficiently
accounts for 45% of all health care expenditures, is predicted to
responds to user inquiries and offers a simple appointment-making
double by 2050 due to the rapid growth of healthcare costs.
process. The system shows better efficiency, accuracy, and user
satisfaction in the appointment booking process by employing
In this situation, scheduling appointments becomes a critical
RASA NLU's capabilities and using SQLite.
component of managing patient care and maximizing healthcare
Keywords resources. However, the conventional ways of scheduling
appointments in the healthcare industry, such as phone calls or
ML- Machine Learning, NLU- Natural Language Understanding, online forms, can exacerbate system inefficiency and consumer
AI - Artificial Intelligence, STT - Speech To Text, TTS - Text To
frustration.
Speech

A study gap exists on the specific application of voice bots for


1. INTRODUCTION appointment booking utilizing RASA NLU, despite studies
The proceedings are the records of the ICIIT conference. addressing the usage of conversational AI and voice bots in a
By enabling automatic and effective interactions with people, variety of fields. By examining the efficiency of RASA NLU in
conversational artificial intelligence (AI) has changed a number of precisely interpreting user goals, retrieving pertinent information,
sectors. The development of voice bots, which are intended to and successfully scheduling appointments through voice
recognize and react to user input in natural language, is one interactions, this research intends to close this gap.
promising use of conversational AI. In this study, we investigate
how to create a voice bot for scheduling appointments using RASA The main key objectives that are going to be covered in this
NLU, a well-liked open-source natural language understanding research are, Create an appointment-making voice bot using RASA
framework. [1] NLU, analyze how well the speech bot performs in interpreting user
intentions and retrieving pertinent data, compare the speech bot's
user experience and satisfaction to more conventional appointment

295
booking techniques, determine the speech bot approach's potential database integration, natural language understanding, and ease of
drawbacks and shortcomings and make suggestions for use. In order to improve healthcare accessibility for Sinhala-
improvement, by focusing on these goals, we hope to enhance speaking people, this research adds to the body of literature by
conversational AI and offer information on how to effectively use addressing the specific requirement for a conversational interface
voice bots for scheduling appointments, which will be in the healthcare field. [6]
advantageous to both customers and service providers.
The potential of NLU technologies, including the use of RASA
NLU, has been shown in earlier studies. These sectors include
2. RELATED WORKS
The growth of voice assistants and natural language understanding healthcare and hospitality. This research underline that successful
(NLU) technology has completely changed how people interact voice-based interactions depend on precise intent identification,
with computers.[3] These developments have resulted in the entity extraction, and dialogue management. On top of this
development of voice-bot systems that can automate chores like foundation, the current study is on creating a voice-bot system for
arranging appointments in recent years. This review of the literature scheduling appointments, utilizing RASA NLU's capabilities and
intends to investigate the current research and advancements in the addressing the unique difficulties and demands of appointment
area of voice-based appointment scheduling, with an emphasis on scheduling. By utilizing a unique communication medium that
the use of the RASA NLU framework. imitates telephone calls, the voice-bot system created for
scheduling appointments utilizing RASA NLU sets itself apart
Voice-based solutions are extremely popular now because they are from other existing studies.
convenient and hands-free. Accurately detecting user intentions
and reading useful information from spoken language are two This system uses a service provider's communication infrastructure
major implementation issues for voice-based appointment booking to enable users to engage in genuine and seamless voice
systems. By enabling the interpretation of user requests and the conversations, in contrast to prior research that largely focuses on
mapping of those requests to suitable actions, NLU approaches play text-based or online interactions. With this telephone-based
a critical role in tackling this difficulty. strategy, the system provides users with a simple and familiar
experience that mimics regular phone calls while employing the
A well-known open-source framework for creating conversational capabilities of RASA NLU for precise intent identification and
AI systems is RASA NLU. It is a good fit for voice-bot systems efficient appointment scheduling. With this innovative application,
because it offers the features needed for intent categorization, entity there are now more opportunities to improve accessibility and user
recognition, and dialogue management. Researchers and engagement by incorporating voice-based technologies into actual
developers can modify RASA NLU to fit particular application healthcare environments. This is the speciality of the entire system
domains, such as appointment scheduling, because of its modular while other systems are working with web applications that work
architecture and adaptability.[4] with a call center. In normal call centers there are receptionists to
book an appointment or solve the issues related to their domains.
The development of a health assistant bot is explored in the But in this scenario there are no humans acting as the receptionist.
conference paper named "Health Assistant Bot" by Nayak, N. K., All the work is done by the voice-bot because of the power of the
Pooja, G., Kumar, R. R., Spandana, M., and Shobha, P. It also AI revolution.
examines its implementation, features, and prospective advantages
in the healthcare industry. The study's primary findings are 3. METHODOLOGY
included in the report, along with the bot's conversational interface, The entire methodology of the system is the user voice wave going
natural language processing abilities, and integration with through with the Flask API. Then it is converted to text by using
significant health databases and resources. The use of AI-powered speech to text transferring API. After the message processing with
health assistant bots in this research adds to the body of literature the algorithm that is built by using the RASA framework. The
by showing their potential to enhance healthcare services and relevant data for the conversation is stored in the database files
accessibility. [5] which are related to the doctor details and patient details. In the
algorithm the user given data checked with relevant doctor
The development of a conversational interface for appointment appointment scheduling and also proceeded it further. Then the
management and medical advice in the Sinhala language is responses are generated from the voice-bot according to the user's
explored in the paper "Sinhala Conversational Interface for communication dialogue and convert the response to the sound by
Appointment Management and Medical Advice" by Rajapakshe, D. using text to speech API. After the response comes to the user by
D. S., Kudawithana, K. N. B., Uswatte, U. L. N. P., Nishshanka, N. using the FLASK API.
A. B. D., and Piyawardana, A. V. S. The research, which was Following diagram (figure 1) displays the process that is described
published by IEEE, focuses on the development and functioning of above.
the interface with the goal of offering customers an easy-to-use
platform to make appointments and get medical advice in Sinhala.
The authors go over the interface's functionality with regard to

296
Figure 1: Overall methodology

4. RESULTS AND DISCUSSION


The figure 2 that is shown below gives a detailed explanation of
how the voice bot system works and clarifies how the user and the
voice bot communicate with one another. The figure 2 emphasizes
the information flow and exchanges involved in the user-bot
interaction while showcasing the complex interplay of numerous
components. Beginning with the user's input and the voice-bot
receiving the instruction through speech recognition, the sequence
of events is visually shown. The picture also describes the Figure 4: Performance Analysis – Performance and accuracy up to 5
succeeding steps that help the speech bot accurately interpret the stories
user's request, such as intent recognition, entity extraction, and
dialogue management.

Figure 5: Survey Using Different Test Cases


Figure 2: Results for the make an appointment

The following figure 3 represents the patient details stored into the The new application of a voice-bot system for booking
database which is relevant to the above conversation and some of appointments utilizing RASA NLU supports the findings and
other patient appointments. analysis discussed in the study article. This system makes a number
of original contributions and advancements in voice-bot and
healthcare automation. The following is a summary of the major
novelties:

Patient Data Integration: The voice-bot system has the capacity to


safely store patient data in a SQlite3 database. This integration
makes it possible to record all patient information, including
contact information and medical background, enabling precise and
effective appointment scheduling.
Figure 3: Updated patient table according to the appointment

The following figures (Figure 4, 5) are showing the results of the Integration of the user interface with the backend system is
performance and accuracy of the entire system and survey which is seamless thanks to the study's successful demonstration of the link
related to the users satisfaction. For this survey there were 30 test between the voice-bot system and the Flask endpoint. By offering
cases. a simple interface for scheduling appointments, this connection
improves the user experience for users.

Future Integration with Asterisk: The article highlights the voice-


bot system's intended integration with Asterisk, which will make it
easier for users to make phone calls to the voice-bot. By enabling

297
users to make appointments and call in for necessary details, this [6] D. D. Rajapakshe et al., “Sinhala conversational interface for
connection increases the system's usability. The system's reach and appointment management and medical advice,” 2020 2nd
utility will be significantly expanded when Sinhala and Tamil are International Conference on Advancements in Computing (ICAC),
added in the future. 2020. doi:10.1109/icac51239.2020.9357155

In conclusion, the study article offers fresh insights into the


effective application of a voice-bot system for scheduling
appointments using RASA NLU. Voice-bot technology and
developments in healthcare automation are demonstrated through
the integration of patient data storage, a fluid user interface, and
future integration with Asterisk. These results lay the groundwork
for further research and development in order to enhance the
appointment scheduling procedure and increase the functionality of
voice-bot systems in the healthcare sector.

5. ACKNOWLEDGMENTS
We would like to express our sincere gratitude to our supervisors,
for their important leadership and assistance throughout the course
of this research project. Their experience, wisdom, and guidance
were invaluable in determining the course of our work and ensuring
its successful conclusion. We honestly value their commitment,
tolerance, and the effort they have put into guiding us. We are
grateful to have had the chance to work with them since their
contributions have been genuinely priceless.

6. REFERENCES
[1] Rasa NLU chatbot - computer science program at Texas
Wesleyan University,
https://cs.txwes.edu/student_projects/bryan_bao/report.pdf
(accessed Jul. 27, 2023).

[2] D. GUPTA and B. DENTON, Appointment scheduling in


health care: Challenges and opportunities,
https://www.tandfonline.com/doi/full/10.1080/074081708021658
80 (accessed May 30, 2023).

[3] T. Young, D. Hazarika, S. Poria and E. Cambria, "Recent


Trends in Deep Learning Based Natural Language Processing
[Review Article]," in IEEE Computational Intelligence Magazine,
vol. 13, no. 3, pp. 55-75, Aug. 2018, doi:
10.1109/MCI.2018.2840738.

[4] T. Bocklisch, J. Faulkner, N. Pawlowski, and A. Nichol,


“Rasa: Open source language understanding and dialogue
management,” arXiv.org, https://arxiv.org/abs/1712.05181
(accessed May 30, 2023).

[5] N. K. Nayak, G. Pooja, R. R. Kumar, M. Spandana, and P.


Shobha, “Health assistant bot,” SpringerLink,
https://link.springer.com/chapter/10.1007/978-981-16-1338-8_19
(accessed May 27, 2023).

298

View publication stats

You might also like