0% found this document useful (0 votes)
47 views18 pages

Internship Report

INTERNSHIP REPORT ON PYTHON

Uploaded by

priyanshu1734j
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)
47 views18 pages

Internship Report

INTERNSHIP REPORT ON PYTHON

Uploaded by

priyanshu1734j
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/ 18

Customer Support Chat Bot

An Internship-III Report
Submitted in partial fulfillment of the requirement
for the degree of
Bachelor of Technology
In
ARTIFICAL INTELLIGENCE & DATA SCIENCE
July-December 2024

Submitted by
Priyanshu Jaiswal
0704AD211026

Department of Computer Science and Engineering


Mahakal Institute of Technology, Ujjain
Affiliated to Rajiv Gandhi Proudyogiki Vishwavidyalaya, Bhopal

Department of AI and DS Engineering, Mahakal Institute of Technology, Ujjain | 1


Department of AI and DS Engineering, Mahakal Institute of Technology, Ujjain | 2
RECOMMENDATION

The Internship work entitled “Customer Support Chat Bot using Python”
submitted by PRIYANSHU JAISWAL is recommended towards partial
ful llment for the award of the Bachelor of Technology in Computer
Science & Engineering from Mahakal Institute of Technology, Ujjain by
Rajiv Gandhi Prodyogiki Vishwavidyalaya, Bhopal.

Internship Coordinator Head

Prof. Neeraj Sharma Dept. of Artificial intelligence and Data science

Mahakal Institute of Technology, Ujjain

Department of AI and DS Engineering, Mahakal Institute of Technology, Ujjain | 3


fi
DECLARATION

I Priyanshu Jaiswal hereby declare that I have undertaken 5 weeks internship work at
“CodeHub” during a period from 01/07/24 to 15/08/24 in partial fulfillment for the award of
the Bachelor of Technology in Computer Science & Engineering from Mahakal Institute
of Technology, Ujjain by Rajiv Gandhi Proudyogiki Vishwavidyalaya, Bhopal. The work
which is being presented in the internship report submitted to Department of Computer
Science & Engineering from Mahakal Institute of Technology, Ujjain, is an authentic record
of training work.

Date: Priyanshu Jaiswal

0704AD211026

Department of AI and DS Engineering, Mahakal Institute of Technology, Ujjain | 4


ACKNOWLEDGEMENT
I express my gratitude to all those who contributed to my internship who guided me for their
guidance and support in completing this project. We would also like to extend our gratitude to
the director of MIT Ujjain Dr. Mukesh Shukla Sir for providing us with all the facilities that
were required. We would also like to hearty thanks our parents to helped us a lot in finalizing
this project within the limited time frame.

I am also grateful to Codehub for providing me with the opportunity to undertake this
internship, which has significantly enriched my learning experience. The resources and
supportive environment at Codehub have been instrumental in enhancing my practical skills
in Python. This experience allowed me to work on real-world projects, applying modern
Software development practices and gaining valuable expertise in Python.

Priyanshu Jaiswal

0704CS211054

Department of AI and DS Engineering, Mahakal Institute of Technology, Ujjain | 5


ABOUT COMPANY

Codehub Ujjain is a prominent technology hub committed to bridging the gap between
software specialists and the ever-growing market demand for skilled professionals. Their
mission focuses on helping developers and IT specialists realize their full potential through
targeted training, career development, and the creation of meaningful software solutions.
Codehub is dedicated to offering opportunities for individuals to explore their professional
passions and design their own career paths through an ecosystem built by and for developers.

Through Code Learn, Codehub provides upskilling programs tailored to the IT industry’s
evolving needs. These programs are crafted by experienced developers and academic experts
and delivered in a way that allows professionals to stay at the forefront of technology trends.
Code Learn empowers IT specialists to continuously adapt and grow in their careers, which is
critical in a fast-paced industry.

During my internship at Codehub Ujjain, I had the opportunity to work on developing a


customer support chatbot. This project involved building a Python-based chatbot capable of
managing customer tasks like order placement, account creation, and order tracking. The
chatbot reflects Codehub's mission of leveraging technology to enhance operational
efficiency. By automating customer service processes, the chatbot allows businesses to
improve their service offerings while aligning with Codehub’s broader vision of delivering
state-of-the-art solutions to meet market needs. This experience not only deepened my
technical skills but also allowed me to contribute to real-world solutions in line with the
company's goals.

Department of AI and DS Engineering, Mahakal Institute of Technology, Ujjain | 6


TABLE OF CONTENTS
Page No.
Internship Certificate provided by the Company/Industry/Institute 2
Recommendation 3
Declaration 4
Acknowledgement 5
About Company/Industry/Institute 6
Table of Contents 7
Abstract 8
Chapter 1 Introduc on (9-10)

1.1 Introduction 09

1.2 Objective 09

1.3 Tools and Technology used 10

Chapter 2 Training Work Undertaken (11)

2.1 Foundation Building 11

2.2 Building Core Skills 11

2.3 Methodology 11

Chapter 3 Results and Discussion (12-13)

3.1 Experience 12

3.2 Results 12

3.3 Discussion 13

Chapter 4 Conclusion and Future Scope (14-15)

4.1 Conclusion 14

4.2 Future Scope 15

References (16)

Appendix A Screenshots 17-18

Department of AI and DS Engineering, Mahakal Institute of Technology, Ujjain | 7


ti
ABSTRACT

This internship report outlines the development of a Python-based customer support chatbot
as part of my training at Code-hub Ujjain. The chatbot is designed to automate essential
customer service functions, including order placement, account creation, and order tracking.
By utilising CSV files for data storage and validation techniques for customer details, the
chatbot ensures smooth and reliable interactions. The system supports both English and Hindi
languages, catering to a broader range of users.

Throughout the internship, I gained hands-on experience in Python programming,


particularly in data handling, regex for input validation, and managing user requests
efficiently. The project also introduced me to key principles of automation in customer
service, allowing businesses to streamline their operations and improve user satisfaction. This
report discusses the objectives, tools, development methodology, challenges, and results of
the chatbot project, along with potential future improvements, such as database integration
and enhanced features. The practical experience gained through this project contributes
significantly to my technical knowledge and aligns with Codehub's mission of delivering
efficient software solutions.

Department of AI and DS Engineering, Mahakal Institute of Technology, Ujjain | 8


CHAPTER 1

INTRODUCTION

1.1 Introduction
This report details my internship experience at Code-hub Ujjain, where I worked on
developing a Python-based customer support chatbot. The internship provided an opportunity
to apply my foundational knowledge of Python and software development to a real-world
project, aimed at automating customer service tasks. With increasing demands for efficient
customer support systems, the project focused on creating a chatbot that could handle critical
functions such as order placement, account creation, order tracking, and modifications. The
chatbot was built to be user-friendly, with support for both English and Hindi languages to
cater to a wider audience.

The main objective of the chatbot was to streamline customer interactions and reduce manual
intervention by automating repetitive tasks. It manages customer data using CSV files and
validates information such as email addresses and phone numbers to ensure accurate order
processing. Additionally, the chatbot allows users to check their order status, cancel or
modify orders, and perform other key actions without needing direct assistance from support
staff.

Working on this project enabled me to gain practical experience in Python, especially in the
areas of file handling, regular expressions for input validation, and creating a user-friendly
interface for customer interaction. By developing and enhancing these skills, I contributed to
a solution that aligns with Codehub’s mission of providing efficient and scalable software
solutions to meet market needs. This report covers the objectives, tools used, the
development process, the challenges faced, and the outcomes of the project, as well as the
potential future scope for improvement.

1.2 Objective
The main objectives of the customer support chatbot project are:
• Automate customer service tasks, such as order placement, account creation, and
order tracking.
• Provide multilingual support in both English and Hindi to cater to a broader user base.
• Manage customer data efficiently using CSV files for storage and retrieval.
• Validate user inputs such as email addresses and phone numbers for accurate
processing.
• Allow users to track their orders, cancel or modify them, and check status without
direct human assistance.

Department of AI and DS Engineering, Mahakal Institute of Technology, Ujjain | 9


• Enhance user experience by offering a seamless, self-service interaction with the
chatbot.
• Provide businesses with a solution that reduces manual workload and improves
operational efficiency.
1.3 Tools and Technology Used
The development of the customer support chatbot involved the use of the following tools and
technologies:
• Python: The core programming language used to build the chatbot, handling logic
and data processing.
• CSV Module: For managing customer data in a structured format, enabling easy
reading and writing of data to CSV files.
• Regular Expressions (re Module): Used for validating user inputs such as email
addresses and phone numbers to ensure accurate and valid information.
• Faker Library: Employed to generate random, unique order IDs for each new order
placed by the customers.
• Input/Output Handling: Python's standard input/output functions were used to
interact with users and process their requests.
• Multilingual Support: Implemented basic language support for English and Hindi to
accommodate users from different linguistic backgrounds.
• IDE (Integrated Development Environment): Visual Studio Code (VS Code) was
used for coding, debugging, and testing the chatbot.
These tools and technologies worked together to create an efficient and scalable chatbot that
meets the needs of both customers and businesses.

Department of AI and DS Engineering, Mahakal Institute of Technology, Ujjain | 10


CHAPTER 2
TRAINING WORK UNDERTAKEN

During my 5-week internship at CodeHub Ujjain, I engaged in various stages of training and
project development focused on building a customer support chatbot using Python. The
training provided me with practical exposure to implementing real-world projects and
learning essential development tools and methodologies. The goal of the project was to create
a chatbot that automates customer service tasks, such as order placement, account creation,
and order tracking.
2.1 Foundation Building
During the first phase of my training, I focused on reinforcing my knowledge of Python,
particularly in file handling and data management using CSV. I learned to manipulate data
efficiently with the csv module, which enabled me to read from and write to CSV files
seamlessly. Additionally, I gained proficiency in using the re module for regular expressions,
which is essential for validating user inputs, such as email addresses and phone numbers.
This foundational skill set was crucial in developing the basic functionalities of the chatbot,
laying the groundwork for more advanced features in subsequent phases of the project.
2.2 Developing Core Skills
In the next phase, I worked on implementing the chatbot’s core functionalities. The primary
focus was to allow customers to create accounts, place orders, and track their orders using an
email or phone number. To ensure accurate data input, validation methods were integrated,
checking for correct formats of emails and phone numbers. The chatbot also supported both
English and Hindi, ensuring that users from diverse linguistic backgrounds could interact
with it. I used the Faker library to generate unique order IDs for each new order, adding
reliability and randomness to the system.
2.3 Methodology
The development process followed an iterative approach, where I broke down the project into
manageable modules. Each function—whether for placing orders or modifying them—was
developed independently to ensure scalability and ease of updates. Throughout the project,
regular testing and code reviews were conducted to maintain high code quality. The chatbot
was developed using Visual Studio Code (VS Code) for coding and debugging, with version
control managed through Git to track progress and changes effectively.
This 5-week internship gave me hands-on experience in developing practical solutions using
Python, while also strengthening my understanding of project management, data handling,
and user interaction design.

Department of AI and DS Engineering, Mahakal Institute of Technology, Ujjain | 11


CHAPTER 3
RESULT AND DISCUSSION
This section covers the outcomes of the "Customer Support Chat Bot" project, the practical
experiences gained during its development, and a discussion on the impact and performance
of the application.
3.1 Experience
Throughout my internship at Codehub Ujjain, I acquired invaluable hands-on experience in
Python programming, particularly in data handling, regular expressions for input validation,
and creating a user-friendly interface for customer interaction. This practical exposure was
instrumental in the successful development of the customer support chatbot project. By
applying theoretical concepts in a real-world setting, I significantly enhanced my technical
competencies and gained confidence in my programming abilities.
Additionally, collaborating with team members on various aspects of the project improved
my teamwork and communication skills. I learned to effectively gather and incorporate
feedback, which refined my problem-solving abilities and reinforced the importance of
adaptability in a dynamic work environment.
3.2 Results
The customer support chatbot was successfully developed during my internship period and is
fully functional. It incorporates essential features for automating critical customer service
functions, including:
• Order Placement: Customers can place orders effortlessly through an intuitive
interface.
• Account Creation: The chatbot facilitates user registration while ensuring data
validation for email and phone numbers.
• Order Tracking: Customers can track their orders using either their order ID or contact
information.
A notable feature of the chatbot is its support for multilingual communication, providing
options in both English and Hindi to cater to a diverse audience. This inclusivity is vital for
enhancing user engagement and satisfaction.
The chatbot utilizes CSV files for data storage, ensuring easy access and modification of
customer information. Furthermore, rigorous validation techniques are employed to maintain
data integrity and ensure smooth interactions.
3.3 Discussion
The development of the chatbot required the seamless integration of various tools and
technologies, including:
• Python: The core programming language used for the chatbot's logic and
functionalities.
• CSV Module: This module enabled efficient handling of customer data, allowing for
easy reading and writing of CSV files.

Department of AI and DS Engineering, Mahakal Institute of Technology, Ujjain | 12


• Regular Expressions (re Module): Employed for validating user inputs, such as email
addresses and phone numbers, to ensure accurate data entry.
• Faker Library: Utilised for generating unique order IDs, enhancing the automation
process.
• Language Support Libraries: Implemented to facilitate multilingual communication,
enhancing accessibility for users from different linguistic backgrounds.
These elements collaborated effectively to create a reliable and user-friendly chatbot that
aligns with Code hub's mission of delivering efficient software solutions.
The project also introduced me to critical principles of automation in customer service, which
are essential for streamlining business operations and improving overall user satisfaction. By
developing this chatbot, I contributed to a solution that reduces manual workload, enhances
operational efficiency, and aligns with the broader vision of Codehub to provide innovative
technological solutions.
Furthermore, I gained insights into the importance of user-centered design principles, as
ensuring a seamless user experience was paramount. The iterative feedback process allowed
me to refine features based on actual user interactions, demonstrating the significance of user
testing in software development.
Overall, this internship provided me with a unique opportunity to apply my academic skills in
a practical setting while gaining invaluable experience in software development. It allowed
me to contribute to a meaningful project that addresses current industry needs, fostering a
deeper understanding of the challenges and solutions in customer support automation. The
insights and skills acquired through this experience will undoubtedly enhance my future
career prospects in the IT domain, positioning me well for roles that require both technical
expertise and a strong understanding of user experience design.

Department of AI and DS Engineering, Mahakal Institute of Technology, Ujjain | 13


CHAPTER 4
CONCLUSION AND FUTURE SCOPE
4.1 Conclusion
The customer support chatbot project exemplifies the effective application of Python
programming in automating essential customer service tasks. Throughout the development
process, the chatbot successfully integrated key features such as:
• Order Placement: Allowing customers to seamlessly place orders through an intuitive
interface.
• Account Creation: Facilitating user registration while ensuring data accuracy through
robust validation techniques.
• Order Tracking: Enabling customers to easily track their orders using their order ID or
contact information.
• Multilingual Support: Offering communication options in both English and Hindi,
enhancing accessibility for diverse user groups.
• Input Validation Techniques: Ensuring reliable and accurate interactions by validating
customer inputs such as emails and phone numbers.
Utilizing CSV files for data storage and leveraging essential tools like regular expressions
(regex) and language support libraries, the project aligns with Codehub's mission to deliver
efficient software solutions that meet evolving market needs.
This project not only highlights the practical implementation of programming concepts but
also underscores the importance of creating user-friendly solutions that enhance customer
satisfaction.
4.2 Future Scope
While the chatbot has proven to be effective in its current form, there are several avenues for
future enhancement:
• Database Integration: Transitioning from CSV files to a robust database system (e.g.,
MySQL or PostgreSQL) can significantly improve data storage and retrieval
efficiency. This integration will facilitate better handling of larger datasets and
support more complex queries, ultimately enhancing the overall performance of the
chatbot.
• Expanded Functionality: Adding new features such as order modification capabilities,
product recommendations, and customer feedback collection can further enrich the
user experience. By addressing evolving customer needs, the chatbot can remain
competitive and relevant in a fast-paced market.
• Enhanced Multilingual Support: Incorporating additional language options would
broaden the chatbot's accessibility, allowing it to serve a wider audience. This
enhancement is especially important in diverse markets where language can be a
barrier to effective communication.

Department of AI and DS Engineering, Mahakal Institute of Technology, Ujjain | 14


• Advanced Machine Learning Features: Integrating machine learning algorithms could
enable the chatbot to learn from customer interactions and improve its responses over
time. This capability would lead to more personalised customer experiences and
increased user satisfaction.
Overall, this project has been an invaluable learning experience, significantly contributing to
my technical knowledge and career development in the IT industry. It has equipped me with
practical skills in Python programming, data handling, and customer interaction design, all of
which are crucial for delivering impactful software solutions. This report serves not only as a
testament to the success of the project but also as a foundation for potential future
enhancements that can further elevate its capabilities and effectiveness in meeting customer
needs.

Department of AI and DS Engineering, Mahakal Institute of Technology, Ujjain | 15


REFERENCES
Software
1. Python
o Official Documentation: Python Documentation
o Python was the primary programming language used for developing the core
functionalities of the application and automating interactions with WhatsApp
Web.

2. CSV Module
o Official Documentation: Working with CSV Files in Python
o The CSV module was utilized for handling data storage and retrieval, enabling
the application to efficiently manage customer information.

3. Visual Studio Code (VS Code)


o Official Site: Visual Studio Code
o VS Code served as the integrated development environment (IDE) for writing,
debugging, and maintaining the project code, providing a robust platform for
development.

4. Git & GitHub


o Git Documentation: Git Documentation
o GitHub: GitHub
o Git was employed for version control, allowing for effective management of
code changes. GitHub facilitated project collaboration and served as a
platform for code hosting and sharing.

Department of AI and DS Engineering, Mahakal Institute of Technology, Ujjain | 16


APPENDIX A
SCREENSHOTS

Department of AI and DS Engineering, Mahakal Institute of Technology, Ujjain | 17


Department of AI and DS Engineering, Mahakal Institute of Technology, Ujjain | 18

You might also like