This is a GUI based chatbot made with tensorflow
and PyQt5
. This also have speech recognisation implemented with speech-recognisation
library.
- Start by cloning the repository.
- Install all the libraries that are there in requirements.txt
- Train the chatbot, go to
train.ipynb
- Run
app.py
To setup speech recognisation:
- You have to create an azure account.
- To get the API key, go to the Microsoft Azure Portal Resources page, go to All
Resources
>Add
>See
All
> SearchSpeech
>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. - 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.
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!