0% found this document useful (0 votes)
31 views11 pages

43 Jayasri

This document provides a software requirements specification for an AI chatbot that assists students with educational queries, study tips, and resources. It defines the requirements, scope, features and functions of the chatbot. The chatbot will use natural language processing to understand questions, extract relevant information from data sources to generate answers, and respond to users in natural language. It aims to provide students and other users with a quick way to get programming questions answered through web, mobile, and text messaging interfaces.

Uploaded by

shivani2552526
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
31 views11 pages

43 Jayasri

This document provides a software requirements specification for an AI chatbot that assists students with educational queries, study tips, and resources. It defines the requirements, scope, features and functions of the chatbot. The chatbot will use natural language processing to understand questions, extract relevant information from data sources to generate answers, and respond to users in natural language. It aims to provide students and other users with a quick way to get programming questions answered through web, mobile, and text messaging interfaces.

Uploaded by

shivani2552526
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 11

SOFTWARE REQUIREMENT SPECIFICATION

SUBJECT CODE : CSE320 (software engineering )


SRS DOCUMENT TOPIC:
AI Chatbot for Educational Support: Create a system for an AI chatbot that
assists students with educational queries, study tips, and resources
SECTION K23RB

ROLL NO 43

REG.NO 12307393

SUBMITTED BY Jayasri Karanam

SUBMITTED TO MANJINDER SINGH

DATE OF SUBMITTION 25 MARCH 2024


Table of Contents
Table of Contents...........................................................................................................................ii
Revision History.............................................................................................................................ii
1. Introduction..............................................................................................................................1
1.1 Purpose of Document........................................................................................................................1
1.2 Project Scope....................................................................................................................................1
1.3 Overview of Document.....................................................................................................................1
1.4 Reference..........................................................................................................................................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.5 Assumptions and Dependencies.......................................................................................................4
3. System Features.......................................................................................................................4
3.1 Answer Programming-related Qestions............................................................................................4
3.2 Natral Langage Processing...............................................................................................................4
3.3 Contextual Awareness…………………………………..................................................................4
4. Data Flow Diagram(DFD).......................................................................................................5
4.1 Level 0..............................................................................................................................................5
4.2 Level 1..............................................................................................................................................5
5. External nonfnctional Reqirements.......................................................................................6
5.1 User Interface....................................................................................................................................6
5.2 Hardware Interface............................................................................................................................6
5.3 Software Interface.............................................................................................................................6
5.4 Communications Interfaces..............................................................................................................7
6. Other Requirements................................................................................................................7
6.1 Modlarity...........................................................................................................................................7
6.2 Accuracy...........................................................................................................................................7
6.3 Fast Response....................................................................................................................................7
6.4 Security.............................................................................................................................................7
6.5 Web Interface/Mobile Application...................................................................................................7
6.6 Easy of Use.......................................................................................................................................8
Appendix A: Glossary....................................................................................................................8
1.Introduction
1.1 Purpose of Document
The purpose of this software requirements specification (SRS)
document is to define the requirements for the development of
a chatbot that can answer programming-related questions. It
will serve as a reference for developers and customers during
the development of the final version of the system.

1.2 Project Scope

Chatbot that receives programming-related questions from


users, tries to understand the question, and provides
appropriate answers. It does this by converting an English
sentence into a machine-friendly query, then going through
relevant data to find the necessary information, and finally
returning the answer in a natural language sentence. In other
words, it answers your questions like a human does, instead
of giving you the list of websites that may contain the answer.
For example, when it receives the question "What is
programming language?", it will give a response “A
programming language is a system of notation for writing
computer programs. They are a kind of computer language.
“The main objective is creating a sample web, mobile, and text
messaging interfaces that demonstrate the use of the API.
The goal is to provide student, and all other people a quick
and easy way to have their questions answered, as well as to
offer other developers the means to incorporate Chatbot into
their projects. The chatbot will be developed using the OpenAI
ChatGPT API.

1.3 Overview of Document


1) Revision History: Provide the date of, reason for, and
people who were involved with the modification of this
document.
2) Introduction: Provide an overview of the application, explain
the objectives and goal of the project and describe the
document structure.
3) Overall Description: Provide the specification of the system
model, the classes model and the main constraints.
4) Functional Requirements: Provide the analysis of the
requirements by feature.
5) Non -functional requirements: Provide some other
constraints that affect performance, safety and security.
6) Use Cases: Provide possible scenarios where the user
interacts with the Web API and sample applications.
7) Glossary: Definitions of terms used.

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 favour 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-service-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.

2.2 Product Features


The major features for Bot Chatbot will be the following:
● Natural Language Processing: The system will take in
questions written in standard English.
● Natural Language Responses: The answer to the question
will be written in standard and understandable English
● Information Extraction: Provide helpful resources or links
related to programming and answer programming-related
questions.

2.3 User Classes and Characteristics


The classes of users for this system are described below:
● 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.
2.4.2 Design and Implementation Constraints
The chatbot will be developed using the OpenAI ChatGPT
API, which has certain limitations on the of data that can be
processed at once. The design will need to take into account
these limitations and ensure that the chatbot can still function
efficiently within them.

2.5 Assumptions and Dependencies


The chatbot is dependent on the availability and reliability of
the OpenAI ChatGPT API. It is assumed that users will have a
basic understanding of programming and will be able to input
questions.

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.

3.3 Contextual Awareness


The chatbot should be able to recognize the context of the
conversation to provide appropriate responses.
4. Data Flow Diagram (DFD)

4.1 Level 0
4.2 Level 1

5. External Interface Requirements


5.1 User Interfaces
The user interface for the chatbot will be a chat window that
allows users to input questions or text and receive answers or
translations. The interface will be simple and intuitive, with
clear instructions on how to use the chatbot.

5.2 Hardware Interfaces


The chatbot will not require any specific hardware interfaces
beyond a device with internet access and amodern web
browser.
5.3 Software Interfaces
The chatbot will be developed using the OpenAI ChatGPT
API, which will be accessed via HTTP requests.

5.4 Communications Interfaces


The chatbot will communicate with users via a web-based
interface and will require an internet connection to access the
OpenAI ChatGPT API.

6. Other Nonfunctional Requirements


6.1 Modularity
The chatbot system should be designed in a modular fashion
to facilitate easy maintenance and modification. This means
that the system should be broken down into smaller,
independent modules that can be modified or replaced without
affecting the overall functionality of the system.

s
The chatbot system should be able to provide accurate
responses to user queries. This means that the system should
be able to understand the user's intent correctly and provide
relevant and precise information.

6.3 Fast Response


The chatbot system should provide fast response times to
user queries. This means that the system should be able to
process user input quickly and provide a response within a
reasonable time frame.

6.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.

6.5 Web interface/Mobile application


The chatbot system should be accessible via a web interface
or mobile application to provide users with flexibility in
accessing the system. This means that the system should be
designed to work on multiple platforms, such as desktops,
laptops, mobile phones, and tablets.

6.6 Ease of Use

The chatbot system should be easy to use, even for users with
limited technical knowledge. This means that the system
should have a user-friendly interface, clear instructions, and
easy-to-understand responses.

Appendix A: Glossary
● Chatbot: An interface, usually text based, specializing in the
mimicry of natural language
conversation. AKA “artificial conversational entity.”
● Natural Language Processing (NLP): A field of study
focused on teaching computers to understand
and interpret human language, including spoken and written
communication.
● GUI: Graphic User Interface, a type of user interface that
allows users to interact with the software
through graphical icons (e.g. buttons, etc.).
● HTML: Hypertext Markup Language, a standardized system
for tagging text files to achieve font,
colour, graphic, and hyperlink effects on webpages.
● SMS: Short Message Service, the text messaging protocol
of cellular telephones. Standard English:
the language that can be understood by English-speaking high
school graduates.
● URL: Uniform Resource Locator, an address to a resource
on the Internet.
● URL parameter: parameters whose values are set in a
webpage’s URL.
● Web API: an application programming interface (API) for
either web server.

You might also like