Does EventBroker trace requests sent to Rasa NLU?

When I have my rasa server running using api like:

rasa run --enable-api

and then send messages, like:

curl localhost:5005/model/parse -d '{"text":"hello"}'

The event broker does not register that. Is it intentional or I am doing something wrong?

Is it possible to track this data, and for instance later on use it for retraining in Rasa X?

you are querying nlu component with this commend… Event broker captures rasa core’s processed data for there’s a reply.

You may use this instead:

curl --request POST \
  --url http://localhost:5005/webhooks/rest/webhook \
  --header 'content-type: application/json' \
  --data '{
  "message": "Hello!"
}

Do let me know if this solves it for your case, I am still exploring.

My task was to get the response from NLU but still keep requests logged via event broker. I solved this by writing a custom event that responds to any request by sending tracker.latest_message content (that contains the NLU body, such as intent, intent_ranking and entities.

I wonder if there is a more elegant way, but this one works for now.