ARTI RASA Extended
Extending a RASA chatbot with chatGPT
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.