Open turnerrainer opened 1 year ago
To trigger intent: curl -H "Content-ion/json" -X POST -d '{"name": "intent_name"}' "http://url:5005/conversations/5005/trigger_intent"
To send message for intent recognition: curl -H "Content-ion/json" -X POST -d '{"text": "text_to_send","sender": "user"}' "http://url:5005/conversations/5005/messages"
To train new model: curl -XPOST url/model/train -H 'Accept-Encoding: gzip, deflate' --header 'Content-Type: text/x-yaml' --data drops newlines --data-binary @path_to_bot_file NOTE: to train model with that command, all training data needs to be included in "path_to_bot_file" including domain.yml, config.yml, nlu files etc.
All available rasa API endpoints include:
/conversations/
@turnerrainer Georg has added his comments, is this done now?
AS A Developer I WANT TO use all necessary Rasa functionalities within this project as REST API calls SO THAT there wouldn't be a need to execute
.sh
scripts or similar