0% found this document useful (0 votes)
95 views12 pages

Chatbot

Uploaded by

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

Chatbot

Uploaded by

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

Chatbot using Tkinter in python

Presented by:-
SHATAKSHI MAJI[33200321004]
DEBDEEP CHATTERJEE [33200321008]
SOUJIT MONDAL [33200321005]
What are chatbots?

• A chatbot is a computer program that uses artificial intelligence


(AI) and natural language processing (NLP) to understand
customer questions and automate responses to them, simulating
human conversation.
• Numerous applications of chatbots such as Customer Service,
call centres etc.
Need for chatbots?

• Chatbots can make it easy for users to find the information they need by responding to
their questions and requests—through text input, audio input, or both—without the need
for human intervention.
• Chatbot technology is almost everywhere these days, from the smart speakers at home to
messaging applications in the workplace.
• They can use audio input, such as Apple's Siri, Google Assistant and Amazon Alexa, or
interact with you via SMS text messaging. Either way, you’re able to ask questions about
what you need in a conversational way, and the chatbot can help refine your search
through responses and follow-up questions.
How chatbots work?

• Historically, chatbots were text-based, and programmed to reply to a limited set of simple
queries with answers that had been pre-written by the chatbot’s developers. They operated
like an interactive FAQ, and while they worked well for those specific questions and answers
on which they had been trained, they failed when presented with a complex question or one
that hadn’t been predicted by the developers.
• Today’s AI chatbots use natural language understanding (NLU) to discern the user’s need.
Then they use advanced AI tools to determine what the user is trying to accomplish. These
technologies rely on machine learning and deep learning—elements of AI, with some
nuanced differences—to develop an increasingly granular knowledge base of questions and
responses that are based on user interactions. This improves their ability to predict user needs
accurately and respond correctly over time.
History of chatbots
• ELIZA
o Developed in the 1960s
o Looks for pronouns and verbs
o ‘You’ becomes ‘I’ and vice versa
o User: You are a dork.
o ELIZA: What makes you think I am a dork?
• PARRY (1972)
o Simulated a paranoid schizophrenic
• RACTER
o 1984
o Generate English language prose at random
o Generated a book
o The Policeman's Beard Is Half-Constructed
History of chatbots[contd.]

• ALICE
o 1994
o Three time loebner prize winner
o Richard Wallace
ELIZA

• One of the first chatterbots designed in 1966.


• Parodies a therapist rephrasing statements of the user and posing them
back as questions.
• Works by simple parsing and substitution of key words into canned
phrases.
• People get emotionally caught up by ELIZA’s confident replies forgetting
that it’s a machine.
ALICE Chatbot System

• ALICE(Artificial Linguistic Internet Computer Entity) is inspired by ELIZA


• Applies heuristic pattern matching rules to input to converse with user
• Applies heuristic pattern matching rules to input to converse with user
• ALICE is composed of two parts
– Chatbot engine
– Language Model
• Language models are stored in AIML(Artificial Intelligence Mark-up Language) files
What Libraries We Used?
• Tkinter:- Tkinter is the standard GUI library for Python. Python when combined with
Tkinter provides a fast and easy way to create GUI applications. Tkinter provides a
powerful object-oriented interface to the Tk GUI toolkit. Creating a GUI application
using Tkinter is an easy task.
• Pillow(pil):- Pillow and its predecessor, PIL, are the original Python libraries for dealing
with images. Even though there are other Python libraries for image processing, Pillow
remains an important tool for understanding and dealing with images.To manipulate and
process images, Pillow provides tools that are similar to ones found in image processing
software such as Photoshop
supports a large number of image file formats including BMP, PNG, JPEG, and TIFF. The library encourages adding support for newer formats
in the library by creating new file decoders.
Observation
CONCLUSION

At first, there were many hindrances in this project. We took our time and
hard work to resolve those issues, like fixing the scroll bar in such a way so
that the scroll bar automatically scrolls down when it exceeds the limit of the
dimensions, made the questions valid by using both upper case and lower
case strings in the conditions, etc. In this project, we have developed a
python project to chat with a Chatbot that gives us answers to specific
questions. And we have used Tkinter because it’s a popular GUI toolkit in
Python and easy to code.
.

You might also like