Endpoints.yml

I am getting the below error ,while trying to initiate dialogue in interactive training mode. But i am able to get result when operating in the shell model.

my endpoints.yml is having the below value. action_endpoint: url: “http://localhost:5055/webhook

2019-07-26 00:18:49 ERROR rasa.core.processor - Encountered an exception while running action ‘action_ticket_search’. Bot will continue, but the actions events are lost. Make sure to fix the exception in your custom code. 2019-07-26 00:18:49 DEBUG rasa.core.processor - The model predicted the custom action ‘action_ticket_search’ but you didn’t configure an endpoint to run this custom action. Please take a look at the docs and set an endpoint configuration. https://rasa.com/docs/rasa/core/actions Traceback (most recent call last): File “c:\users\91973\appdata\local\programs\python\python36\lib\site-packages\rasa\core\processor.py”, line 433, in _run_action events = await action

How are you running your action server? Did you start it before you started the rasa server?

Hi Nivek-

I tried both the sequences .

2019-07-26 10:20:37 ERROR rasa.core.processor - Encountered an exception while running action ‘action_ticket_search’. Bot will continue, but the actions events are lost. Make sure to fix the exception in your custom code. 2019-07-26 10:20:37 DEBUG rasa.core.processor - The model predicted the custom action ‘action_ticket_search’ but you didn’t configure an endpoint to run this custom action. Please take a look at the docs and set an endpoint configuration. https://rasa.com/docs/rasa/core/actions Traceback (most recent call last): File “c:\users\91973\appdata\local\programs\python\python36\lib\site-packages\rasa\core\processor.py”, line 433, in _run_action events = await action.run(output_channel, nlg, tracker, self.domain) File “c:\users\91973\appdata\local\programs\python\python36\lib\asyncio\coroutines.py”, line 110, in next return self.gen.send(None) File “c:\users\91973\appdata\local\programs\python\python36\lib\site-packages\rasa\core\actions\action.py”, line 388, in run “”.format(self.name(), DOCS_BASE_URL) Exception: The model predicted the custom action ‘action_ticket_search’ but you didn’t configure an endpoint to run this custom action. Please take a look at the docs and set an endpoint configuration. https://rasa.com/docs/rasa/core/actions

Regards Snehashis

Hi @catchlui. You actions server doesn’t seem to be up. You can do it by running:

rasa run actions

Once the server is up, you should get the responses

hi @Juste what about this error rasa.core.processor - Encountered an exception while running action ‘action_get_answer’. Bot will continue, but the actions events are lost. Make sure to fix the exception in your custom code. rasa.core.processor - ‘dict’ object has no attribute ‘endswith’ Traceback (most recent call last):

Need to start these two servers with the below command. That helped me getting rid of the error

rasa interactive -vv --endpoints endpoints.yml rasa run -vv --endpoints endpoints actions

same error , i guess i have problem in my endpoints.yml but i can’t figure out what

Send pic of error and endpoint file with Google drive link

@im-singh

endpoints.yml (57 Bytes)

There is no problem in endpoints file. Problem is in action.py and may be dict object. Please send action.py for more help.

@im-singh
actions.py (1.4 KB)

Hi @SallemiDorsaf ,

I think the problem is in your endpoints file. It should have

action_endpoint:
  url: "http://localhost:5055/webhook"

Note that the url doesn’t have a trailing slash but yours did. ( I can’t seem to reproduce the same error though.)

You should post your rasa version too if this doesn’t work.

Hope that helps.

thank you for help I used version 1.1.7 of rasa as soon as I installed version 1.1.6 the problem was fixed