Skip to content

murtaza98/Sales-bot-in-Rasa

Repository files navigation

Sales Bot in Rasa

Requirements

Installation

  1. Install Python. Please make sure to install Python 3.6 or Python 3.7. Rasa won't work with any other python version

    Windows
    You can install it from here

    macOS

    $ brew update
    $ brew install python3.7

    Linux

  2. Install, create and activate a Virtual Environment

    1. Install virtual Environment
      python -m pip install --user virtualenv

    2. Create a virtual environment

      Linux / macOS

      $ python3 -m venv ./venv

      Windows

      C:\> python3 -m venv ./venv
    3. Activate the virtual environment:

      Linux / macOS

      $ source ./venv/bin/activate

      Windows

      C:\> .\venv\Scripts\activate
  3. Install the required packages from requirements.txt inside this virtual environment:
    pip install -r requirements.txt

  4. Install spacy. Ref: here

    $ pip install rasa[spacy]
    $ python -m spacy download en_core_web_md
    $ python -m spacy link en_core_web_md en
  5. Train the model

    $ rasa train

Usage Instructions:

  1. Activate the environment:
    • Linux / macOS: source venv/bin/activate
    • Windows: .\venv\Scripts\activate.bat
  2. Open a new terminal and run actions
    • rasa run actions
  3. Open a new terminal and run duckling which is used for entity extraction
    docker run -p 8000:8000 rasa/duckling
    
  4. Lastly, open a new terminal to run rasa
    rasa run

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages