Rasa as a feature extractor

hello everyone,

Actually this is to ask if it is feasible to use RASA as a feature extractor only!!

so I want to extract trained entities from sentences and then the rasa should only returns for me those entities without using custom actions.

So I mean like using the Tracker outside the custom actions, thus i will don’t need to run the custom actions on a terminal.

Is it feasible to use it like this?

and if yes can i do it without integrating it on rasa x?

Thanks in advanced!

Hi, I believe what you are looking for is to use Rasa NLU only.

Try this -

  1. Run Rasa in NLU mode only: rasa run --enable-api -m models/<your model .gz>

  2. To extract your entities from utterences, simply call the following endpoint:

curl localhost:5005/model/parse -d ‘{“text”:“your message”}’