/M.I.K.A.

Primary LanguagePython

MIKA HWR Chatbot

How to run the bot locally

Prerequisites

  • Make sure docker engine is installed. Check it with:

    docker --version

    If its not installed you can download it on the Docker website.

  • Make sure NodeJs is installed. Check it with:

    node --version

    If its not installed you can download it on the NodeJs website.

  • Make sure npm is installed. Check it with:

    npm --version

Setup guide

  1. Clone the repositorys M.I.K.A. and Rasa-chatroom-react to your machine
  2. Open your commandline and navigate to the M.I.K.A repository
  3. Build the Dockerfile using
    docker build -t my-mika-image .
  4. Run the Docker image using
    docker run -p 5005:5005 my-mika-image
  5. Use your commandline and navigate to the Rasa-chatroom-react repository
  6. Use the following command to start your frontend
    npm run dev
    By default the site is hostet on http://localhost:5173/

Further commands for extended use

RASA (Chatbot) starten:

poetry run rasa run --enable-api --cors "" && rasa run actions --cors ""

Model trainieren:

poetry run rasa train