I’ve been following the Rasa tutorial from February of this year to get my head around slots and have been trying to implement my own version into my code. However, when I input a value that triggers the action for the slot, I get this error:
Encountered an exception while running action ‘action_receive_name’.Bot will continue, but the actions events are lost. Please check the logs of your action server for more information.
…
raise RasaException(
rasa.shared.exceptions.RasaException: Failed to execute custom action ‘action_receive_name’ because no endpoint is configured to run this custom action. Please take a look at the docs and set an endpoint
configuration via the --endpoints flag. Custom Actions
I don’t understand what it means by configuring via the endpoints flag.
@nik202 yeah both actions are in domain.yml and i have a second terminal running rasa run actions which displays:
rasa_sdk.endpoint - Starting action endpoint server…
rasa_sdk.executor - Registered function for ‘action_receive_name’.
rasa_sdk.executor - Registered function for ‘action_say_name’.
rasa_sdk.endpoint - Action endpoint is up and running on http://0.0.0.0:5055
Need to install Anaconda First https://youtu.be/GlR60CvTh8A only follow the anaconda installation process, nothing more. Switch to below process.
create a project folder rasa
1. conda create -name “Your_Environment_Name” python=3.8 or python==3.7.7
2. conda activate Your_Environment_Name
3. pip install pip==20.2 --user
4. pip install rasa-sdk==2.8.0
5. pip install rasa==2.8.0
6. rasa init follow the instructions
7. running rasa type rasa shell
8. for training the bot rasa train
9. In new separate terminal for custom action i.e action.py run rasa run actions
I would encourage use VS code and for activating environment Clt+Shift+P and select your condo environment.