/ARTI_rasa_extended

Extending the RASA chatbot with chatgpt

Primary LanguagePythonApache License 2.0Apache-2.0

ARTI RASA Extended

Extending a RASA chatbot with chatGPT

cool chatbot image goes here

Run a RASA chatbot and a RASA action server and let yourself be quizzed on basic infosec topics. Forwards generic queries to ChatGPT. Requires a valid auth token for the openAI platform.

Installation

pip install -r requirements.txt

Basic Usage

From the root directory of the repo: Provide your openAI API key by creating a .env file with the following format:

OPENAI_KEY=sk-abcdefghij.......

Launch the actions server (port 5055)

rasa run actions

Run the main rasa application (port 5005)

rasa run -m models --enable-api --cors "*"

Run the webpage serving the webinterface for the chatbot (port 8080)

python main.py

Open http://localhost:8080 with your browser and start chatting.