and I got the error Exception: Failed to validate component CountVectorsFeaturizer. Missing property: ‘tokens’. As the analyzer for Count Vector Featurizer is set to ‘char’, I think it is no need to have tokens for it, right?
The older version of rasa had no such error and all worked fine.
Please answer me, thank you in advance.
Thank you for your reply sir. But in rasa old version, it works even if there is no tokenizer. I set the analyzer of CountVectorFeaturizer to ‘char’ and also set minimum and maximum ngram range. But why does it still need to have tokens?
Same problem here!
I updated the rasa version for a project that is already in production, and with the new version I get an error on the pipeline - Failed to validate component CountVectorsFeaturizer. Missing property: ‘tokens’.
Also, if you check the documentation, the CountVectorsFeaturizer not requires any tokenizer.
Upon further research, there was a change in CountVectorsFeaturizer. It used to do a text.split() if tokens were not present. That was removed in a recent release and you now must explicitly include a tokenizer.