Tag message instead of conversation

In custom actions you can tag conversation using tag _convo from actions.api.rasaxapi.RasaXAPI. Is there a way to tag a message instead of conversation?

I think you’re referring to the code in the rasa demo repository. That code is functional, but it’s not part of any supported library. It’s not part of the Rasa SDK.

That said, the tag_convo method communicates with Rasa X over HTTP to tag the conversation using the API described here.

You could add your own python method to reach any Rasa X API endpoint over HTTP. In your case it sounds like you may want to send a POST request to this endpoint.

1 Like

Thanks @koaning I actually solved it yesterday like you mentioned in the comment but forgot to post the solution. Indeed the solution is what you are mentioning here

1 Like