Coder Social home page Coder Social logo

aaditikapre / chatbot-gui Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ealexandros/chatbot-gui

0.0 0.0 0.0 3.08 MB

This is a chatbot with GUI "Graphical User Interface". It uses Python for the backend and Javascript for the frontend.

JavaScript 9.63% Python 43.74% CSS 16.65% HTML 27.86% Dockerfile 2.12%

chatbot-gui's Introduction

Chatbot GUI

In this repository you have a Graphical User Interface Chatbot, made with python and javascript/html/css.

πŸ“š Table of Content

🎯 Description

As mentioned above, in this Repository we have a chatbot with GUI that is made with the help of python and javascript/html/css.

In particular, I used Python/Tensorflow to train the Chatbot and used javascript/html/css in order to make the web app.

The communication between Python and Js is being made with the help of Flask.

βš™ Technologies

This project consist of two parts. The first part is made with the help of python (more specifically the hole bot is written in python), and the rest is made with javascript html/css.

Python Part:

  1. Tensorflow/Keras, training the bot.
  2. NLTK, language processing toolkit.
  3. Flask, creating the api.
  4. numpy/pickle, utilities.

GUI Part:

  1. javascript/html/css, vanilla. πŸ™‚

➑ Setup

1st Option (Use Docker)

In order to use docker you need to install the tensorflow container. You can do that with this command:

.\> docker pull tensorflow/tensorflow

When the tensorflow container installs on your machine, execute this command:

.\> docker-compose up

After a few minutes everything will be set up and ready to Go. The last step is to connect on localhost:8080 and start talking with the Bot.

2nd Option (Start it manually)

Start API

First of all you need to start the python server. Open a command-prompt in the chatbot folder and type:

.\> python backend

- This will automatically start the server.

Start GUI

After that open the index.html file inside the frontend and start chatting with your new friend.

Todos

What need to be implemented Already done
Train the bot βœ…
Create a dataset βœ…
Process the dataset βœ…
Create the API βœ…
Make the web application βœ…
Design the application βœ…
Implement the design βœ…
Connect the frontend with the backend βœ…
Display the backend answer βœ…

✨Conclusion

This was a small Project that helped me understand some new things. One of them is how to achieve the communication between python/js.

chatbot-gui's People

Contributors

ealexandros avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.