Professional Documents
Culture Documents
Srs Chatbot Srs
Srs Chatbot Srs
Srs Chatbot Srs
SRS-Chatbot - srs
Software Requirements
Specification
for
ChatBot
Version 1.0
Prepared by
Copyright © 2002 by Karl E. Wiegers. Permission is granted to use, modify, and distribute this document.
Table of Contents
Table of Contents ii
1. Introduction…………………………………………………………………………………... 1
1.1 Purpose………………………………………………………………………………………….…..1
1.2 Project Scope………………………………………………………………………………….…….1
1.3 References…………………………………………………………………………………………..2
1.4 Overview of Document………………………………………………………………………….….2
2. Overall Description…………………………………………………………………………...2
2.1 Product Perspective…………………………………………………………………………….…….2
2.2 Product Features……………………………………………………………………………………...2
2.3 User Classes and Characteristics………………………………………………………………….….3
2.4 Constraints……………………………………………………………………………………….…...3
2.4.1 Language………………………………………………………………………………………3
2.4.2 Design and Implementation Constraints………………………………………………………3
2.5 Assumptions and Dependencies………………………………………………………………...3
3. System Features……………………………………………………………………………… 3
3.1 Answer Programming-related
Questions ......................................................................................... 3
3.2 Natural Language Processing …………………………………………………………………….. 4
3.3 Contextual
Awareness ...................................................................................................................... 4
4. External Interface
Requirements ........................................................................................... 4
4.1 User
Interfaces .................................................................................................................................. 4
4.2 Hardware
Interfaces .......................................................................................................................... 4 4.3 Software
Interfaces ........................................................................................................................... 4
4.4 Communications Interfaces ...............................................................................................................
4
5. Other Nonfunctional
Requirements ....................................................................................... 4
5.1Modularity……………………………………………………………………………… …...4
5.2 Accuracy……...……………………………………………………………………………...4
5.3 Fast Response…………………………………………………………………………… ….5
5.4 Security…………...……………………………………………………………………… …5
5.5 Web interface/Mobile application………………………………………………………… ...5
5.6 Ease of Use…………………………………………………………………………………. .5 6. Other
Requirements…………………………………………………………………..…...….6
Appendix A: Glossary……………………………….……………………………………….…... 6
Revision History
Name Date Reason For Changes Version
1. Introduction
1.4 Reference
● Manning, C. D., & Schütze, H. (1999). Foundations of statistical natural language processing. MIT
Press.
● Gartner. (2021). Gartner predicts 80% of customer service organizations will abandon native mobile
apps in favor of messaging by 2025.
● OpenAI. (2021). GPT-3: Language models are few-shot learners.
https://openai.com/blog/gpt-3-a-few-shots-to-human-level/
● https://www.gartner.com/en/newsroom/press-releases/2021-03-02-gartner-predicts-80--of-
customer-s ervice-organizations-will-abandon-native-mobile-apps-in-favor-of-messaging-by-2025
2. Overall Description
2.1 Product Perspective
● Generic question construction - capable of taking a natural language question and making it more
generic.
● Generic answer construction - capable of taking a generic question template and providing a
generic answer template.
● Generic answer population - capable of taking a generic answer template and populating it with
information from the database to form an answer.
The chatbot will be a standalone application that will interact with users through a chat interface.
It will utilize the OpenAI ChatGPT API to provide answers to programming-related questions.
Novice Programmers - These are users who have little to no experience in programming and
require basic information and guidance on programming concepts and syntax.
Intermediate Programmers - These users have some experience in programming and require
more advanced information on programming concepts and syntax.
Expert Programmers - These users have extensive experience in programming and require highly
technical information and guidance on programming.
Technical Support Staff - These users are responsible for providing technical support to other
users and may require access to advanced troubleshooting and debugging tools.
By identifying and understanding the user classes and characteristics, the development team can
tailor the chatbot's features, responses, and interactions to meet the specific needs of each user
group, thereby enhancing the user experience and increasing the chatbot's effectiveness.
2.4 Constraints
2.4.1 Language
The system will only support questions in standard English.
3. System Features
3.1 Answer Programming-related Questions
The chatbot will be able to provide answers to programming-related questions by utilizing the OpenAI
ChatGPT API. The chatbot will need to be able to understand and interpret natural language queries and
provide accurate and relevant responses.
3.2 Natural Language Processing
The chatbot should be able to understand and interpret natural language input from the user.
R5.1.2.2 The overall accuracy is calculated by dividing total number of correct answers by the
number of questions asked.
R5.1.2.3 The accuracy of the Generic Question Construction part will be close to 80%. R5.1.2.4 The
accuracy of the Generic Answer Construction unit will be close to 70%.
5.4 Security
The chatbot system should be designed with security in mind to protect user data and prevent
unauthorized access. This means that the system should have robust security features, such as
encryption, access controls, and authentication mechanisms.