Skip to content

sareenv/ChatBot_A6

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

About this project

This repository contains a chatbot/personal assistant writtent in Python.

The code is split in different files, with the file GUI.py integrating all of the modules together and providing an interface for people to interact with the chatbot.

Requirements for this chatbot

Software that needs to be installed for this chatbot includes:

This chatbot requires some third party modules, for which links are provided below. Alternatively, these could be installed with the following pip commands:

How to use this chatbot

To use this chatbot, the GUI.py file must be opened.

After that, there is a textbox at the bottom. where the user can type in commands and press enter (or click the "Send" button) to send those commands.

Some supported commands are:

  • Finding the latest news about current affairs.
    • To do this, type the name of your news source (BBC, Times of India, the New York Times) or type "news" for a random news source.
  • Finding the latest sports events.
    • To do this, type the name of your news source (BBC Sports, ESPN or Sports Bible).
  • Finding the latest entertainment-based news.
    • To do this, types the name of your news source (MTV, Lad Bible or Buzz Feed).
  • Finding the weather.
    • To do this, type "weather" and you will be asked for the city and country you want to check.
  • Telling funny jokes.
    • To do this, simply type "joke" or ask the chatbot to tell a joke.
  • Getting information about movies.
    • To do this, type "IMDB" or "movie".
  • Locating local stores.
    • To do this, type any word from this list: "yelp", "find", "location", "locate" or "where is".
  • Personalising the chatbot
    • This requires the user to login by typing "login" or "log in". If the user doesn't have an account, then one will be made for them when they attempt to login.

In addition to that, there are some questions the chatbot is capable of answeing, for which it does not require an internet connection. These commands are listed below. Note that these questions must be phrased exactly in the same way below for a response to work (except that case does not matter).

  • How are you feeling
  • How old are you
  • What is your favourite colour
  • Where do you live
  • Who created you
  • What is your hobby
  • When were you born
  • Who is your master
  • Are you my friend
  • Do you eat and drink
  • What features do you have
  • How can you help me today
  • Whats your favourite country
  • Are you my father
  • Who are you
  • Where's my address
  • I'm feeling bored
  • Are you an expert at hacking
  • What languages do you speak
  • What is your religion
  • Where were you created
  • How many people were involved in creating you
  • What gender are you
  • Can you sing
  • What are your talents

If you would like to disconnect from the chatbot, type "end". The program will then close.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Contributors 4

  •  
  •  
  •  
  •  

Languages