Skip to content
Permalink
32b3484ff2
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
57 lines (34 sloc) 1.95 KB
# 303COM-Individual-Project-Rasa
# RasaChatbot
## Guide
!! Make sure you install Microsoft C++ Build Tools (Just click "next" for all steps)
https://visualstudio.microsoft.com/visual-cpp-build-tools/
Try and see the installation videos on YT made by Rasa
### To get started with this project.
Step 1 - Clone this repo inside a folder of your choosing on your machine.
Create a folder on your computer.
Type this command "git clone https://github.coventry.ac.uk/302CEM-2122/Team-jellyfish.git"
Step 2 - Creating a virtual enviroment & installing dependencies.
Download & install Miniconda : https://docs.conda.io/en/latest/miniconda.html
Open Powershell which is the most "user-friendly" in my opinion terminal for windows users.
**Just search in the search bar for "Powershell"
Inside Powershell type the following comands:
- "conda init" #should change the begining of the prompt line with (base)
- "conda create -n rasa30 python==3.8" #creates the env with python 3.8
- "conda activate rasa30" #activates the new enviroment
#installing packages
- "conda install ujson"
- "conda install tensorflow"
- "pip install rasa==3.0.8" #after installing check if rasa is 3.0.8 with the command "rasa --version"
#installing packages for webscrapping
- "pip install selenium"
- download chromedriver from here:
https://chromedriver.chromium.org/downloads
*Match the chromedriver with your Google Chrome version
- add the chromedriver in C: (maybe inside a folder) , after that replace the
path in actions.py at line 31, with your path to the chromedriver.
Step 3 - Running the project in the terminal.
Open 2 powershell teminals inside the folder containing this project
Type the folling two commands:
- "rasa run actions" #will run the actions server on one terminal
- "rasa shell" #you will interact with the bot in the other terminal