WhiteCode Project

Hi community! Today's project is gonna be about an AI Chat Project! A chatbot that works with JSON and Python!

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

  1. • Visual Studio Code

Requirements

  1. • Python Version: +3.8
  2. • Operation system: Windows 10

Development Setup

  1. • pip install beepy
  2. • pip install random
  3. • pip install webbrowser
  4. • pip install os
  5. • pip install time
  6. • pip install urllib.request
  7. • pip install urllib.parse
  8. • pip install re
  9. • pip install pyttsx3
  10. • pip install datetime
  11. • 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!