Can we perform NLU tasks (entity extration) in custom actions?

In my project, i need to extract entities from a text message inside a custom action. Can we do that?

for any input,the flow which i am trying to work on is-

  1. nlu classifies intent and extracts the entities.
  2. now a custom action runs, where i get the last_message and make some changes to it to get a new message.
  3. for the new message, i again want to extract entities. And then finally produce the output

Is this possible? I am stuck with the third step. How can we proceed with this?

You may for example run an NLU server and call it via it’s REST API from within your action.

https://rasa.com/docs/rasa/nlu/using-nlu-only/

1 Like

This seems to work! Thanks a lot