Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tanujdargan/chatbot-ichi

Ichi Restaurants Chatbot
https://github.com/tanujdargan/chatbot-ichi

chatbot chatbot-framework

Last synced: 2 months ago
JSON representation

Ichi Restaurants Chatbot

Awesome Lists containing this project

README

        

# chatbot-ichi
Ichi Chatbot ### Creating the virtual environment
```
virtualenv --python C:\Users\tanuj\AppData\Local\Programs\Python\Python310\python.exe venv
```
### activate the virtual env
```
.\venv\Scripts\activate
```
### Installing packages
```
pip install Flask torch torchvision nltk
```
### Installing required package for NLTK
```
python
import nltk
nltk.download('punkt')
```
### To change the questions and their responses edit the intents.json file
### To train the model run
```
python train.py
```
### If you get torch module not found error then in your terminal execute
```
pip install torchvision
```
### To chat with the bot in terminal run
```
python chat.py
```
### Finally to use the bot with it's interface
```
Command 1: cd C:/Users/tanuj/Desktop/Internship stuff/chatbot
Command 2: .\venv\Scripts\activate
Command 3: "c:/Users/tanuj/Desktop/Internship stuff/chatbot/venv/Scripts/python.exe" "c:/Users/tanuj/Desktop/Internship stuff/chatbot/app.py"
```