Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/tanujdargan/chatbot-ichi
- Owner: tanujdargan
- Created: 2022-07-02T07:17:47.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-09-30T08:01:06.000Z (over 2 years ago)
- Last Synced: 2023-12-07T17:28:18.082Z (about 1 year ago)
- Topics: chatbot, chatbot-framework
- Language: Python
- Homepage:
- Size: 585 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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"
```