PWP Python
PWP Python
Micro-Project Report On
“ Chat-Bot Application “
Submitted By
Sr. Roll
Name of Team Members Enrollment No.
No. No.
1. 23 Gorde Dipali Sandip 2200800155
2. 24 Gorde Sanjana Yogesh 2200800156
2200800160
3. 28 Darandale Shraddha Navanath
Submitted to
CERTIFICATE
This is to that the project report entitled
Chat-Bot Application
It is benefited work carried out by,
Sr. Roll
Name of Team Members Enrollment No.
No. No.
1. 23 Gorde Dipali Sandip 2200800155
2. 24 Gorde Sanjana Yogesh 2200800156
2200800160
3. 28 Darandale Shraddha Navanath
We have taken lots of efforts in this project. However, it would have been possible
without the kind support and help of many individuals and organizations. We
would be kind to extend our sincere thanks to all of them.
First and foremost, we want to thank Prof. Kale G.B H.O.D (Computer
Technology) Amrutvahini Polytechnic, Sangamner for giving us an opportunity
to work on this project.
We are highly indebted to Prof. Ghuge.G.D (Project Guide) for his guidance
and constant supervision as well as for providing necessary information
regarding the project and also for his support in the project.
We would like to express our gratitude towards our parents and members of the
Computer Technology department for their kind Co- operation and encouragement
which helps us in completion of this micro project.
Our thanks and appreciation also go to our colleagues in developing the micro-
project and people who have willingly helped us with their abilities.
INDEX
Sr. Contents
No
1. Rationale
3. Course Outcomes
4. Literature Review
5. Actual Methodology
7. Output of micro-project
Benefits:
Sr.
Name of Resource/material Specifications Quantity Remarks
No.
Computer System with broad
1. MacBook Air
specifications
2. Operating System MacOS
1
3. Software VSCode
4. Keyboard Keychron
5. Mouse Inphic
Sr. No. Roll No. Name of Team Members Enrollment No. Seat No.
Teacher Signature
(Prof.G.D.Ghuge)
Annexure – II
Micro-Project Report
Chatbot Application
1.0 Rationale
Chatbots offer benefits like automation, 24/7 support, scalability, cost-effectiveness, and
improved user experience. They’re used in customer service, marketing, healthcare,
education, and entertainment. Advantages include increased efficiency, accuracy, and
enhanced user experience. However, limitations include limited understanding, lack of
emotional intelligence, dependence on data, and security concerns.
skills.
creating projects
must be immutable objects like strings or numbers. They must also be unique
within a dictionary.
●Tuple: Python tuples work exactly like Python lists except they are
immutable, They are normally written inside parentheses to distinguish them from
lists (which use square brackets)
●Set: Sets are the unordered collection of unique objects.
●Exceptional handling: Even if a statement or expression is syntactically correct,
it may cause an error when an attempt is made to execute it. Errors detected
during execution are called exceptions . These exceptions can be handled using
the try statement .Since the try block raises an error, the except block will be
executed.
● User Defined Module: The user-defined module just written by the user at the
time of program writing. Creation of User-defined module To create a module
just write a Python code in a file extension as.py:
Example: def accept_int(): val=int(input(“Enter the integer number:”)) print(“The
integer value is:”,v)
4.0 Actual Methodology Followed
This section outlines the step-by-step methodology used for developing the chatbot
application. The process is divided into five main phases: requirement analysis, system
design, development, testing, and deployment.
1. Requirement Analysis
Conducted stakeholder interviews to identify user needs.
Defined chatbot use cases (e.g., FAQs, appointment booking, student guidance).
Determined platform (e.g., Android, Web, Facebook Messenger) and language support.
2. System Design
Architecture: Designed a modular architecture using client-server interaction.
Flow Design: Created conversation flowcharts using tools like Botmock or Draw.
Technology Stack:
Frontend: Android (Java/XML) or Web (React)
Backend: Node.js/Python with Flask
NLP Engine: Dialogflow / Rasa / OpenAI GPT API
Database: Firebase / MongoDB
3. Chatbot Development
Integrated NLP engine to handle intent recognition and entity extraction.
Implemented custom intents and responses for domain-specific interactions.
Built fallback and small talk modules to handle undefined queries.
4. Testing
Functional Testing: Ensured the bot responds correctly to expected inputs.
Usability Testing: Gathered user feedback from a sample group.
Performance Testing: Checked system load handling and response times.
5. Deployment and Maintenance
Deployed the chatbot on the chosen platform (e.g., mobile app, website).
Implemented analytics (e.g., Dialogflow analytics, Firebase Crashlytics).
5.0Algorithm:
Algorithm of Chatbot Application
Step 1: Start
Initialize the chatbot system and load necessary models (NLP, intent recognition, etc.).
Import logging
Import pyttsx3
Logging.basicConfig(level=logging.CRITICAL)
#if no update comment these 2 sentence trainer ChatterBot Corpus Trainer (chathot) trainer
train(“chatterbot.corpus.english”)
#Calling function
Sr.
Name of Resource/material Specifications Quantity Remarks
No.
Computer System with broad
1. MacBook Air
specifications
2. Operating System MacOS
1
3. Software VSCode
4. Keyboard Keychron
5. Mouse Inphic
1●Python Programming
Writing functions, loops, conditionals
String manipulation and input/output handling
2●Problem Solving
Designing a conversation flow
Handling user input and unknown responses
3●Logic Building
Using if-else or dictionaries to handle different conditions
Creating rule-based decision-making
5●Debugging
Testing inputs and fixing unexpected behaviors
1● Customer Support
Answer common questions instantly (FAQs)
24/7 availability without human intervention
Reduce workload for customer service teams
2● Education and Learning
Virtual tutors for answering subject-related questions
Language learning practice through conversation
Interactive quizzes or study guides
3● E-commerce
Assist customers in finding products
Provide order status and delivery updates
Upsell or suggest related items
4● Healthcare
Symptom checking (basic)
Appointment scheduling
Mental health support bots (e.g., Woebot)
5● Banking and Finance
Check account balance or transaction history
Answer queries about loans, cards, and services
Fraud detection alerts and help
6● Entertainment
Fun chatbots that tell jokes, stories, or trivia
Game-based bots or interactive fiction
7● HR and Recruitment
Answer candidate queries
Collect application information
Pre-screening interviews
8● Travel and Hospitality
Book tickets or hotels
Provide travel itineraries and weather updates
Help with cancellations and refunds
Teacher Signature
(Prof.G.D.Ghuge)
Amrutvahini Polytechnic, Sangamner
Computer Technology Department
Annexure–III & IV (Rubrics & Micro Project Evaluation Sheet)
Name of Student: Gorde Dipali Sandip Enrollment No: 2200800155
Name of Program: Computer Technology Semester: VI
Course Title: PWP Code: 22616
Title of Micro Project: chatbot
Application
Course Outcomes Achieved:
CI501.1 - Use Python IDE to display messages on screen
CI501.2 - Develop Python program to demonstrate use of operators
CI501.3 - Demonstrate operations on data structures in Python
CI501.4 - Develop functions for given problem
CI501.6 - Use Exception Handling