https://github.com/umairazmat/gcuf-se-chatbot
Explore my GitHub repository 🚀🤖 "Chatbot Deployment with Flask and JavaScript" for a comprehensive guide on deploying interactive chatbots using Flask and JavaScript. This repository offers starter files, training scripts, and GUI enhancements, providing an optimal foundation to craft your personalized chatbot and learn about deployment technique
https://github.com/umairazmat/gcuf-se-chatbot
chatbot
Last synced: 7 months ago
JSON representation
Explore my GitHub repository 🚀🤖 "Chatbot Deployment with Flask and JavaScript" for a comprehensive guide on deploying interactive chatbots using Flask and JavaScript. This repository offers starter files, training scripts, and GUI enhancements, providing an optimal foundation to craft your personalized chatbot and learn about deployment technique
- Host: GitHub
- URL: https://github.com/umairazmat/gcuf-se-chatbot
- Owner: umairazmat
- Created: 2023-05-17T18:14:58.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-09-15T04:17:57.000Z (about 2 years ago)
- Last Synced: 2025-02-10T05:26:40.910Z (8 months ago)
- Topics: chatbot
- Language: Python
- Homepage:
- Size: 77.1 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Chatbot Deployment with Flask and JavaScript
## Initial Setup:
This repo currently contains the starter files.Clone repo and create a virtual environment
```
$ git clone https://github.com/python-engineer/chatbot-deployment.git
$ cd chatbot-deployment
$ python3 -m venv venv
$ . venv/Scripts/activate
```
Install dependencies
```
$ (venv) pip install Flask torch torchvision nltk
```
Install nltk package
```
$ (venv) python
>>> import nltk
>>> nltk.download('punkt')
```
Modify `intents.json` with different intents and responses for your ChatbotRun
```
$ (venv) python train.py
```
This will dump data.pth file. And then run
the following command to test it in the console.
```
$ (venv) python chat.py
```Now for deployment follow my tutorial to implement `app.py` and `app.js`.