Skip to content

A GUI based chatbot made with `tensorflow` and `PyQt5`. This also have speech recognisation implemented with `speech-recognisation` library.

Notifications You must be signed in to change notification settings

AdhTri001/tensorBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TensorBot

This is a GUI based chatbot made with tensorflow and PyQt5. This also have speech recognisation implemented with speech-recognisation library.

How to setup

  1. Start by cloning the repository.
  2. Install all the libraries that are there in requirements.txt
  3. Train the chatbot, go to train.ipynb
  4. Run app.py

To setup speech recognisation:

  1. You have to create an azure account.
  2. To get the API key, go to the Microsoft Azure Portal Resources page, go to All Resources > Add > See All > Search Speech > Create, and fill in the form to make a "Speech" resource. On the resulting page (which is also accessible from the "All Resources" page in the Azure Portal), go to the "Show Access Keys" page, which will have two API keys, either of which can be used for the key parameter.
  3. Now go to data/DataMake.py and place your api key there and run it.

To setup database:

  • The database will be automatically setuped when you run DataMake.py
  • If you want to add some cities that you want chatbot to get the time for when you ask for it (Like "Whats tha time in Delhi") go to AddCity.py and add you city there as prompted. The bot will recognise the city and will show you the time for it whenever you ask for.

About this project

I am a student of grade 12th(my last year at school) who loves doing programming. I made this project as a IP Project given to me. To me this bot came out OKay, I guess I won't be taking any pull requests, but you can still make one, if I like your commits I will merge. Tho you can feel free to make issues, I would love to help/modify the files.

Thank you for visiting this repository have a greate day!

About

A GUI based chatbot made with `tensorflow` and `PyQt5`. This also have speech recognisation implemented with `speech-recognisation` library.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published