Getting results from custom component

I’m not sure about this, but looking at the embedding intent classifier code (rasa_nlu/embedding_intent_classifier.py at master · RasaHQ/rasa_nlu · GitHub), your process method should return something like this :

message.set("intent", intent, add_to_output=True)
message.set("intent_ranking", intent_ranking, add_to_output=True)