Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/naspredam/simple-chat-bot
Simple chat-bot done with react on front end and pytorch on the engine
https://github.com/naspredam/simple-chat-bot
api chat-bot flask less python3 pytorch react reactjs typescript
Last synced: about 2 months ago
JSON representation
Simple chat-bot done with react on front end and pytorch on the engine
- Host: GitHub
- URL: https://github.com/naspredam/simple-chat-bot
- Owner: naspredam
- Created: 2020-12-26T18:30:43.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2021-01-03T14:03:48.000Z (about 4 years ago)
- Last Synced: 2024-11-16T11:33:46.926Z (2 months ago)
- Topics: api, chat-bot, flask, less, python3, pytorch, react, reactjs, typescript
- Language: Python
- Homepage:
- Size: 282 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# simple-chat-bot
This is a simple ui + engine of chat bot.
## Tech Stack
For the front end it was used:
| Library | Description |
| --- |:-----|
|[Electron](https://electronjs.org/)| The standalone to display the ui |
|[React](https://es.reactjs.org/)| Library to build the user interface |For the backend, which is the engyne that will perform the AI, we have:
| Language/Library | Description |
| --- |:-----|
|[Python](https://www.python.org/)| Backend language, very used for AI/DL |
|[PyTorch](https://pytorch.org/)| AI library used for this code |## Project organization
The project has to sub-projects:
- engine: this is the backend service that will run the chatbot logic
- user-interface: that has the user interface of the solutionThe idea is to have:
![Simple chatbot diagram](./simple-chatbot.png)
# How to run it
The requirements to run this you have to be installed:
- Docker
- npmThe following execution mode is just for development only.
With that, we will need to run:
```
make start
```On the make file you will see that there are three tasks, as we did a task for start only the engine and the front end, when needed.
This command will:
- build the docker image for the engine (on python/pytorch/flask) on the port 8080
- build the front end and start the dev mode of electron