Send back message from a custom action without using Rasa_sdk

tanja
(Roger NENGWE) #1

Hi, I try to handle custom actions on my own develop server. I have been able to update the tracker using events from rasa.core . However I wonder how to send it back to the server where rasa is running (localhost:5055).

Here is an example. I have the tracker update and the only thing I want to know is how to send it back to the user/ Rasa server.

rasa_run Thanks in advance.

(Tanja Bergmann) #2

You cannot update the tracker by passing the complete tracker state to the server. However, you can send events via the endpoint /conversations/{conversation_id}/tracker/events to the server to update the tracker (see HTTP API). Does that help?

(Roger NENGWE) #3

Thanks @Tanja I end up using the HTTP_API as you said definitely and everything is working fine for now.