Please recognize the big picture of this project.
Table of Contents
The purpose of the Rasa service is to provide a chatbot backend service for the Chatbot UI. It is connected to a custom Rasa action which will interact with a Qanary pipeline to answer specific knowledge graph questions.
The configuration is done using the standard configuration files of Rasa:
The Rasa server can be addressed directly by sending POST requests to http://localhost:5005/webhooks/rest/webhook (if you use the predefined settings of this project). A JSON body is expected. It follows the struture:
{
"sender" : "{SENDER}",
"message": "{MESSAGE TEXT}"
}
It returns a JSON message.
An example for a request using the curl command would be:
curl -X POST -H "Content-Type: application/json" -d '{"sender" : "sender", "message": "When was Albert Einstein born?"}' http://localhost:5005/webhooks/rest/webhook