I have a remote server that processes actions and user messages. I am using the Rest Input channel. My endpoints.yml looks like:
action_endpoint:
url: "http://localhost:8080/webhook"
core_endpoint:
url: "http://localhost:5005"
The http://localhost:8080/webhook works when I hit it with curl, but the Rasa server will not ping it after I post a message. Here are my steps:
python -m rasa_core.run -d models/dialogue -u models/current/nlu --credentials credentials.yml --enable_api --endpoints endpoints.yml
python -m rasa_core_sdk.endpoint --endpoints endpoints.yml
I post
{
"message": "hello",
"sender": "123"
}
to
localhost:5005/webhooks/rest/webhook
I get a 200 response of an empty list. My core server logs:
ERROR rasa_core.dispatcher - Couldn't create message for template 'utter_ask_me_a_question'
And the rasa core action server does nothing. I can do a GET for the tracker and see the predicted actions as well. Not sure if this is the reason that the action server webhook does nothing. Perhaps my domain is wrong.
intents:
- greeting
...
- wind_speed
entities:
- city
slots:
currentWeatherResult:
type: categorical
values:
- success
- nocity
- noconnection
...
action_factory: remote
actions:
- utter_greet
- utter_ask_me_a_question
...
- action_close_chat
Thanks in advance.