How to get the features from the LexicalSyntacticFeaturizer using HTTP API?

I’m using the POST HTTP API ## Parse a message using the Rasa model, http://localhost:5005/model/parse

It returns intents and entities but I don’t see the features from LexicalSyntacticFeaturizer even though it is in my pipeline.

How do I get the tokens & features using the HTTP API? (Or any out-of-process API)

Also, when I run “rasa shell nlu” it doesn’t show the features either so maybe something’s wrong with my pipeline? language: en pipeline:

  • name: SpacyNLP model: “en_core_web_lg”
  • name: SpacyTokenizer pooling: mean
  • name: LexicalSyntacticFeaturizer “features”: [ [“low”, “title”, “upper”], [“BOS”, “EOS”, “low”, “upper”, “title”, “digit”, “pos”], [“low”, “title”, “upper”], ]
  • name: DIETClassifier epochs: 200 ranking_length: 5

Thanks, John

There isn’t an HTTP endpoint for getting the features, but you can get them from inside a python script (I’m guessing that’s not what you want though).