Hi Community!
WhiteCode is an AI Chatbot created with Python, this chatbot was my first real project i made with python and it's on standby, it has two modes the CLI mode that has integrated voice and functions for searching on google, wikipedia or even youtube, and the GUI mode that it's basically to talk with the AI & it's made with tensorflow, whitecode basically will ask you some questions so he can learn from those answers, my goal is to take this AI and merge the software of RoboStoa AI with WhiteCode so it can become a complete AI Voice Assistant!
Software used
- • Visual Studio Code
Requirements
- • Python Version: +3.8
- • Operation system: Windows 10
Development Setup
- • pip install beepy
- • pip install random
- • pip install webbrowser
- • pip install os
- • pip install time
- • pip install urllib.request
- • pip install urllib.parse
- • pip install re
- • pip install pyttsx3
- • pip install datetime
- • pip install wikipedia
Step by step
In this project we're gonna do only the Chatbot.py part, the JSON library full of interaction you can search in google and find a lot of them, choose the best one and continue with the project!
First we call the libraries we're gonna use
Then we start using the machine learning part of our python code and start loading our JSON file for python to recognize the sentences and connect the dots!
After this we start making the functions in which our code is gonna predict what the user is saying and trying to get the best answer possible (depending on how goo our library JSON is).
Finally we make the GUI and call the functions so we can have a proper chat with your first AI BOT!
Make sure to check our github code about WhiteCode where you can download and use it!
Github Code!