You are on page 1of 6

Chatbot using API in Streamlit

Minor Project – II

Synopsis Report

Submitted by

Nitin Jadvan
209205024

Under the Supervision of

Mr. Peeyush Garg

Dr. Vinay Gupta

DEPARTMENT OF ELECTRICAL
ENGINEERING MANIPAL UNIVERSITY JAIPUR
JAIPUR-303007
RAJASTHAN, INDIA

September 2023
1. Introduction
Chatbots are computer programs that are designed to mimic human conversation. They use natural
language processing (NLP) and artificial intelligence (AI) algorithms to interpret and respond to user
input. Chatbots have become increasingly popular in recent years, as they provide a convenient and
efficient way for businesses to interact with their customers. In this article, we will explore how chatbots
can be used in professional settings and how they can be implemented using the API of a popular chatbot
platform. One of the primary benefits of using chatbots in a professional setting is that they can provide
around-the-clock customer support. Chatbots can be programmed to answer common customer questions
and concerns, freeing up human customer support agents to focus on more complex issues. Chatbots can
also be used to provide personalized recommendations to customers based on their preferences and
purchase history.

Another advantage of chatbots is that they can help to automate repetitive tasks and reduce the workload
of human employees. For example, a chatbot can be programmed to handle simple requests such as
scheduling appointments or processing orders. This not only saves time but also reduces the chances of
errors being made. Streamlit is a popular chatbot platform that provides a user-friendly interface for
building and deploying chatbots. Streamlit's API allows developers to integrate chatbots into their own
applications and websites, making it easy to add chatbot functionality to a wide range of professional
contexts. With Streamlit, developers can easily create custom chatbots that are tailored to their specific
needs and requirements.

Chatbots are a powerful tool that can be used to improve customer support, automate tasks, and enhance
the overall efficiency of a business. By using the API of Streamlit, developers can easily integrate
chatbots into their own applications and websites, making it simple to add chatbot functionality to a wide
range of professional contexts. As the use of chatbots continues to grow, it is likely that we will see even
more innovative and creative ways to use this technology in the future.

2. Literature Review
The literature on chatbots is vast and diverse, with researchers and practitioners exploring the potential
benefits and challenges of using this technology. Some studies have found that chatbots can improve
customer satisfaction and reduce the workload of human employees, while others have highlighted the
need for chatbots to be designed with the user in mind and for the development of more sophisticated
NLP algorithms. These technologies have significant potential for improving the efficiency and
effectiveness of professional settings. However, further research is needed to fully understand the benefits

2
and challenges of using chatbots and to develop more sophisticated NLP algorithms that can better
understand and respond to user input.

3. Problem Formulation
The problem addressed here is the need for more efficient and effective methods of customer support and
task automation in professional settings. In many industries, customer support is a primary concern and
can be a significant source of workload for human employees. However, traditional methods of customer
support and task automation can be time-consuming and may not be as effective as they could be. This is
where chatbots come in. Chatbots use NLP and AI algorithms to interpret and respond to various user
input and can be designed to automate a wide range of tasks.
4. Objective of work
The objective of this work is to explore the potential benefits and challenges of using chatbots in
professional settings and to develop a method for effectively integrating chatbots into these settings using
the API of Streamlit. Specifically investigating the current state of the chatbots and their potential
applications in professional settings, developing a chatbot that can be integrated into professional
applications and websites using the API. Evaluate the user experience of the developed chatbot and
compare it to traditional methods of customer support and task automation. By achieving these objectives,
this work aims to contribute to the growing body of knowledge on the use of chatbots in professional
settings and to provide practical insights for developers and businesses interested in implementing chatbot
technology.

5. Methodology
A chatbot will be developed using the API of Streamlit and the Python programming language. The
chatbot will be designed to automate a specific task or provide customer support in a professional setting.
User Experience Testing: The developed chatbot will be tested by a group of users in a professional
setting. The user experience will be evaluated using a combination of surveys and interviews. The data
collected during the user testing phase will be analysed to identify the strengths and weaknesses of the
developed chatbot. This analysis will be used to identify areas for improvement and to develop
recommendations for further research.

6. Tools required
The following tools are required: Python, Streamlit, Vegalite, and LangChain. Python is a programming
language used for developing the chatbot's logic and integrating with APIs, while Streamlit provides a
simple and efficient way to create interactive web applications. Vegalite is a Python library used for
3
creating and rendering vegas, which are reactive, composable, and interactive visualizations that can be
used to display chatbot responses. LangChain is a Python library that simplifies the process of working
with natural language processing (NLP) models, allowing developers to easily integrate NLP functionality
into their applications. By combining these tools, developers can create a powerful and user-friendly
chatbot that can interact with users and provide helpful responses using natural language processing and
machine learning algorithms.

7. Expected Outcomes
We anticipate producing a highly advanced and fully functional chatbot using API in Streamlit, which
will be a key component of our platform. This chatbot will be designed to understand natural language
input and generate human-like responses, allowing users to communicate with our platform in a more
intuitive and user-friendly way. By leveraging the power of APIs, we will ensure that the chatbot is
seamlessly integrated into our platform and accessible to all users.

The chatbot will be capable of understanding and responding to a wide range of questions and requests,
from basic inquiries to more complex requests that require deeper knowledge and understanding. Through
the use of machine learning and natural language processing techniques, the chatbot will be able to learn
and improve over time, becoming more accurate and effective in its responses.

4
8. Tentative Schedule
1.

th
2. 1. Allotment of Supervisor 3. 20 2023
th
4. 2. Submission of Synopsis 5. 20 September 2023

6. 3. Synopsis Presentation 7. Will be announced

8. 4. Submission of Mid Term Report 9. Will be announced

10. 5. Mid-Term Presentation/Evaluation 11. Will be announced

12. 6. Submission of Final Report 13. Will be announced

14. 7. Final Presentation 15. Will be announced

5
9. References
Journal / Conference Papers
[1] Suta, P., Lan, X., Wu, B., Mongkolnam, P., & Chan, J. (2020). An Overview of Machine Learning in
Chatbots. ..
[2] Borsci, S., Malizia, A., Schmettow, M., Velde, F., Tariverdiyeva, G., Balaji, D., & Chamberlain,
A. (2021). The Chatbot Usability Scale: the Design and Pilot of a Usability Scale for Interaction with
AI- Based Conversational Agents. Personal and Ubiquitous Computing, 26, 95-119.
[3] Koh, C., Ooi, J., Joly, G., & Chan, K. (2021). Gene Updater: A Streamlit web tool that
autocorrects and updates for Excel misidentified gene names.
[4 Prasad, S., Manu, A., Kapoor, A., Pujara, V., & Sampatrao, G. (2022). Non-Parallel Denoised Voice
Conversion using Vector Quantisation. 2021 4th International Conference on Recent Trends in Computer
Science and Technology (ICRTCST), 78-83.
[5] Kuzlu, M., Catak, F., Sarp, S., Cali, U., & Gueler, O. (2022). A Streamlit-based Artificial Intelligence
Trust Platform for Next-Generation Wireless Networks. 2022 IEEE Future Networks World Forum
(FNWF), 94-97.
[6] Ochkov, V., Sutchenkov, A., & Tikhonov, A. (2021). Python Computational Web Apps for STEM
Engineering Education. International Journal of Education and Information Technologies.
[7] Kumar, A., & Panda, S. (2019). A Survey: How Python Pitches in IT-World. 2019 International
Conference on Machine Learning, Big Data, Cloud and Parallel Computing (COMITCon), 248-251.
[8] Einevoll, G. (2009). Sharing with Python. Frontiers in Neuroscience, 3, 334 - 335.

You might also like