= AI Chatbot
PWA AI chat bot, based on the http://rasa.com[RASA] framework.
== Installation
==== Python
RASA stack is written in python so first make sure you have it installed
====== Unix
====== Mac OS X
====== Windows
==== RASA
We're going to need rasa_core, rasa_nlu[spacy] packages and english language pack for rasa_nlu.
Follow the official https://core.rasa.ai/installation.html#installation[documentation] to install rasa_core package.
Rasa_nlu package and english language pack installations are described http://rasa-nlu.readthedocs.io/en/latest/installation.html[here]
==== Application
When everything is installed, deploy the application to Enonic XP with the following command:
gradle deploy
== Usage
First we need to start rasa server by navigating to the project root and typing in console:
npm run server
After server is up and running login to Enonic XP and navigate to:
http://localhost:8080/app/com.enonic.app.chatbot
== Deployment with docker To use docker for deployment, build and launch the container with the following commands:
Build the container.
docker build -t chatbot .
Start the docker container with the following command
docker run -d -p "7454:7454" chatbot