0% found this document useful (0 votes)
2 views21 pages

PWP Python

The document is a micro-project report on a Chat-Bot Application submitted by a team of students from Amrutvahini Polytechnic, Sangamner, under the guidance of Prof. Ghuge.G.D. It outlines the project's rationale, aims, methodology, and expected outcomes, including the development of Python programming skills and the application of chatbots in various fields. The report also includes acknowledgments, a detailed index, and an evaluation rubric for assessing the project's performance.

Uploaded by

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

PWP Python

The document is a micro-project report on a Chat-Bot Application submitted by a team of students from Amrutvahini Polytechnic, Sangamner, under the guidance of Prof. Ghuge.G.D. It outlines the project's rationale, aims, methodology, and expected outcomes, including the development of Python programming skills and the application of chatbots in various fields. The report also includes acknowledgments, a detailed index, and an evaluation rubric for assessing the project's performance.

Uploaded by

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

A

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

In partial fulfilment of the requirement of micro-project for


the diploma Computer Technology

Under The Guidance of


Prof. Ghuge.G.D

Submitted to

Department of Computer Technology


Amrutvahini Polytechnic, Sangamner
2024-2025
Amrutvahini Polytechnic, Sangamner
Department of Computer Technology

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

In partial fulfilment of the requirement for the diploma in


Computer Technology
During the academic year 2024-2025

Prof. Ghuge.G.D Prof. Kale G.B


(Project Guide) (H.O.D)
ACKNOWLEDGEMENT

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

2. Aims and Benefits

3. Course Outcomes

4. Literature Review

5. Actual Methodology

6. Actual resources used

7. Output of micro-project

8. Skill Developed/ learning Outcomes

9. Applications of micro project


Annexure – I
Micro-Project Proposal
TO-DO LIST

1.0. Aim/Benefits of the Micro-Project

Benefits:

2.0 Course Outcomes Addressed

Co. No. Course Outcome Statement


CI501.1 Use3 Python IDE to display message on screen

CI501.2 Develop6 Python program to demonstrate use of operators

CI501.3 Demostrate3 operations on data structures in Python

CI501.4 Develop6 functions for given problem

CI501.5 Design6 classes for given problem

CI501.6 Use3 Exception Handling


3.0 Proposed Methodology:
4.0 Action Plan:

Sr. Planned Start Planned Name of Team


Details of activity
No. date Finish date Members
1. Formation of Group & Selection of Topic 1/01/2025 12/01/2025 All members

2. Submission of Proposed Plan 13/01/2025 22/01/2025 All members

Project Definition and Design Structure,


3. Design Algorithm, Design Flowchart 23/01/2025 01/02/2025 All members

4. Coding of Project and Testing of Program 08/02/2025 15/02/2025 All members

5. Demonstration of project 16/03/2025 20/03/2025 All members

6. Submission of Final Report 20/03/2025 22/03/2025 All members

5.0 Resources Required:

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

Names of Team Members with Roll No.:

Sr. No. Roll No. Name of Team Members Enrollment No. Seat No.

1. 05 Datir Kunal Bhausaheb 2200800128


2. 36 Aher Sarthak Navnath 2200800175

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.

2.0 Aims/Benefits of the Project This

1) Understanding basic Python concept.

2) Implementing Exceptional Handling.

3) Improving our Python Programming

skills.

4) Implementing python learning in

creating projects

3.0 Course Outcomes Addressed

Co. No. Course Outcome Statement


CI501.1 Use3 Python IDE to display message on screen

CI501.2 Develop6 Python program to demonstrate use of operators

CI501.3 Demostrate3 operations on data structures in Python

CI501.4 Develop6 functions for given problem

CI501.5 Design6 classes for given problem

CI501.6 Use3 Exception Handling


3.0 Literature Review
.Data Structures: Python has four basic inbuilt data structures namely:
● Lists: Lists in Python are one of the most versatile collection object
types available. Lists can be used for any type of object, from numbers and
strings to more lists.
●Dictionary: In python, dictionary is similar to hash or maps in other
languages. It consists of key value pairs. It is mutable and can contain mixed
types. A Dictionary is an unordered collection. Python dictionary are called
associative arrays hash tables in other languages. The keys in a dictionary

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

Step 2: Input Collection


Wait for the user to enter a message (text or voice converted to text).

Step 3: Preprocessing Input


Remove noise (punctuation, stop words)
Convert text to lowercase
Tokenize the sentence (split into words)

Optional: Perform stemming/lemmatization

Step 4: Intent Detection


Use an NLP model (e.g., Dialogflow, Rasa, or custom-trained model) to:
Identify user intent (e.g., ask_schedule, book_appointment)
Extract entities (e.g., date, time, name)

Step 5: Match Intent with Response Logic


Search for a matching response template or run a function based on intent
If intent is unknown, trigger fallback or clarification response

Step 6: Generate Response


Static: Respond using pre-defined templates
Dynamic: Fetch data from a database or API and construct the response

Step 7: Display Response


Send the response back to the user via chat interface.

Step 8: Loop or End


If conversation continues, go back to Step 2
Else, end the session
6.0 Code:

Import logging

Import pyttsx3

Import speech_recognition as sr from chatterbot import ChatBot from chatterbot.trainers import


ChatterBot Corpus Trainer

Logging.basicConfig(level=logging.CRITICAL)

Chatbot ChatBot(Talking Bot’)

#if no update comment these 2 sentence trainer ChatterBot Corpus Trainer (chathot) trainer
train(“chatterbot.corpus.english”)

Def speech_to_Text(): r = sr.Recognizer()

With sr. Microphone() as source: print(“Speak….”) text=r.listent source)

Recognised text r.recognize google(text) print(“You: “, recognised text)

Try: return recognised_text except sr.UnknownValueError: print(“Unknown Error”) except


sr.RequestError as e: print(“Request Error”)

Def text to Speech(res): engine pyttsx3.init() rate engine.getProperty(‘rate’)


engine.setProperty(‘rate’, 150) engine.say(res) engine.runAndWait()

#Calling function

While True: st speech_to_Text() response chatbot.get_response(st)

Print(“Bot: “, response) text_to Speech(response)


6.0 Actual Resources Used:-

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

7.0 Outputs of the Micro-Projects:


8.0 Skill Developed / Learning outcomes:

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

4●Software Development Basics


Structuring a program with functions
Using main() function and modular coding

5●Debugging
Testing inputs and fixing unexpected behaviors

6●User Interaction Design


Understanding how users interact with software
Creating friendly and helpful respons.
9.0Applications of the Micro-Project:

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

Indicators for different levels of performance evaluation scale (1 to 2)


Criteria A) Process & Product Assessment (Performance in Group Activity Out of 6)
Poor (1) Marks Average (1.5) Marks Good (2) Marks
At least two
Literature No reference is used only At least one reference website references website or
review/ taken material from or book is referred to collect book are referred to
Information Google and copy pasted literature or information
collect literature
collection
or information

a) Quality of a) Incomplete a) Just assembled / fabricated, a) Well assembled /


prototype/ fabrication/assembly / not in proper shape, fabricated with
model / chart survey dimensions/average survey. proper shape
/ drawing b) Most of the content is b) Most of the portion in dimensions / well
b) Quality of non-relevant. Report/ project report irrelevant defined survey
project report drawing is not formatted as and is formatted but some b) Everything in the
(for study per instructions. of the portion is remaining project report is
project) to format. formatted as per the
instructions given.

No previous review and No previous review but Reviewed &


Timely submission after the given submission on or before submission on or
submission. date. given date. before given date.

Indicators for different levels of performance evaluation scale (1 to 2)


Criteria B) Individual Presentation/Viva (Out of 4)
Poor (1) Marks Average (1.5) Marks Good (2) Marks
Major information is not Included major information Well organized,
Presentation
included, but not well included major
of the micro
information is not well organized and not information, well
project
organized presented well presented
Answer to
Could not reply to Replied to considerable
sample Replied most of the
considerable number of number of questions but not
questions questions properly.
question. very properly.
(Oral)
(A) (B) Total Marks
Process & Product Assessment (06) Individual Presentation/Viva (04) (10)

Name & Designation of the Teacher: Prof. Ghuge.G.D


Dated Signature:
Amrutvahini Polytechnic, Sangamner
Computer Technology Department
Annexure–III & IV (Rubrics & Micro Project Evaluation Sheet)
Name of Student: Gorde Sanjana Yogesh Enrollment No: 2200800156
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

Indicators for different levels of performance evaluation scale (1 to 2)


Criteria A) Process & Product Assessment (Performance in Group Activity Out of 6)
Poor (1) Marks Average (1.5) Marks Good (2) Marks
At least two
Literature No reference is used only At least one reference website
references website or
review/ taken material from Google or book is referred to collect book are referred to
Information and copy pasted literature or information collect literature
collection or information

a) Quality of a) Incomplete a) Just assembled / fabricated, a) Well assembled /


prototype/ fabrication/assembly / not in proper shape, fabricated with
model / chart survey dimensions/average survey. proper shape
/ drawing b) Most of the content is b) Most of the portion in dimensions / well
b) Quality of non-relevant. Report/ project report irrelevant defined survey
project report drawing is not formatted as and is formatted but some b) Everything in the
(for study per instructions. of the portion is remaining project report is
project) to format. formatted as per
the
instructions given.
No previous review and No previous review but Reviewed &
Timely submission after the given submission on or before submission on or
submission date. given date. before given date.
.
Indicators for different levels of performance evaluation scale (1 to 2)
Criteria B) Individual Presentation/Viva (Out of 4)
Poor (1) Marks Average (1.5) Marks Good (2) Marks
Major information is not Included major information but Well organized,
Presentation included, not well included major
of the micro information is not well organized and not information, well
project
organized presented well presented
Answer to
Could not reply to Replied to considerable
sample Replied most of the
considerable number of number of questions but not
questions questions properly.
question. very properly.
(Oral)
(A) (B) Total Marks
Process & Product Assessment (06) Individual Presentation/Viva (04) (10)

Name & Designation of the Teacher: Prof. Ghuge.G.D


Dated Signature:

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy