Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add description of how to configure custom actions #4

Open
bkubsch opened this issue Sep 9, 2020 · 3 comments
Open

Add description of how to configure custom actions #4

bkubsch opened this issue Sep 9, 2020 · 3 comments

Comments

@bkubsch
Copy link

bkubsch commented Sep 9, 2020

Dear GKTechy,
When I tried your UI following your description with my rasa model, I ran into the issue that the UI is not executing my custom action. The debug mode returns "Action 'action_hello_world' ended with event '[ ]'" in the terminal. The GUI returns "I couldn't get that. Let' try something else!" when my custom action was supposed to be returned.
When I run my model in the terminal (rasa run actions && rasa shell) my custom action is called successfully.
Thanks and best

@GokulakrishnanMuthan
Copy link
Owner

Hi bkubsh.

can you please check the url 'http://localhost:5005/webhooks/rest/webhook' is correct or not?

@bkubsch
Copy link
Author

bkubsch commented Sep 18, 2020

Hi GKTechy,
thank you for your feedback. In the endpoint.yml file, I changed the 'action_endpoint' to url: "http://localhost:5005/webhooks/rest/webhook". However, the problem persists. In the following I send you the exact error message. 'action_weather' is the action that is to be triggered by the intent 'ask_weather'. Again, with the exact same model used here everything works just fine when I start the rasa action server with 'rasa run actions' (localhost:5055) and the rasa server (localhost:5005) with 'rasa shell'.

Also note that any utter_reponses from the domain.yml file run successfully with your chatbot.

2020-09-18 10:39:04 DEBUG rasa.core.processor - Action 'action_weather' ended with events '[]'.
2020-09-18 10:39:04 DEBUG rasa.core.policies.memoization - Current tracker state [None, None, {}, {'intent_ask_weather': 1.0, 'prev_action_listen': 1.0, 'entity_weather': 1.0}, {'intent_ask_weather': 1.0, 'prev_action_weather': 1.0, 'entity_weather': 1.0}]
2020-09-18 10:39:04 DEBUG rasa.core.policies.memoization - There is a memorised next action 'action_listen'
2020-09-18 10:39:04 DEBUG rasa.core.policies.mapping_policy - There is no mapped action for the predicted intent, 'ask_weather'.
2020-09-18 10:39:04 DEBUG rasa.core.policies.ensemble - Predicted next action using policy_0_MemoizationPolicy
2020-09-18 10:39:04 DEBUG rasa.core.processor - Predicted next action 'action_listen' with confidence 1.00.
2020-09-18 10:39:04 DEBUG rasa.core.processor - Action 'action_listen' ended with events '[]'.
2020-09-18 10:39:04 DEBUG rasa.core.lock_store - Deleted lock for conversation 'Me'.

@GokulakrishnanMuthan
Copy link
Owner

Hi bkubsh.
i saw the "2020-09-18 10:39:04 DEBUG rasa.core.policies.mapping_policy - There is no mapped action for the predicted intent, 'ask_weather' ". I think you need to add more intent details for intent_ask_weather and train your chatbot and set the confidence level high value.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants