I have followed the below steps.
Changes done in rasa files.
modify domain.yml to include intents, entities, actions and forms
added form definition in custom actions.py
added to stories.md
added intent utterances to nlu.md
below is the config.yml file content.
Train command
rasa train
run command
rasa run actions &
rasa run -m models --endpoints endpoints.yml --enable-api &
when I invoke the below API from postman it returns empty response. Please guide me if I have missed something.
curl -X POST http://:5005/webhooks/rest/webhook -H ‘accept: application/json’ -H ‘content-type: application/json’ -d ‘{“message”:“Hello”,“sender”:“test”}’
hey @AshwiniPatil5, are you running this locally? looks like you have localhost missing from your URL. So your curl should be hitting http://localhost:5005/webhooks/rest/webhook
Thanks for the reply. And I am running it on different system and referring to the same IP. With the debug logs enabled I can see the request hitting the server from logs… and that was just a typo error here. I am using it as http://:5005/webhooks/rest/webhook.
Below are some of the logs
2021-03-22 14:29:17 DEBUG rasa.core.policies.memoization - There is no memorised next action
2021-03-22 14:29:17 DEBUG rasa.core.policies.form_policy - There is no active form
2021-03-22 14:29:17 DEBUG rasa.core.policies.mapping_policy - There is no mapped action for the predicted intent, ‘Affirm’.
Ah, ok! Based on the log there, do you have a rule/story built for your Affirm intent? If so, can you post the full traceback along with your rules, stories, config and domain files.