So, when I use spacy or bert configurations, the rasa intent classification works perfectly fine in command line [ie rasa shell].
However, when I publish the model together with rasa server to a url and when I call the model/parse endpoint, I receive the original text that I sent as payload.
What is crazy is that when I use the default config.yml … aka I don’t use spacy and I don’t use bert … the url endpoint returns the expected response.
Here are my configs:
SPACY… works in command line, but not in url
language: en pipeline: - name: SpacyNLP - name: "SpacyTokenizer" - name: "SpacyFeaturizer" model: "en_core_web_md" - name: DIETClassifier epochs: 50
BERT… works in command line, but not in url:
language: en pipeline: - name: HFTransformersNLP - name: LanguageModelTokenizer - name: LanguageModelFeaturizer model_name: "bert" model_weights: "rasa/LaBSE" - name: DIETClassifier epochs: 50
DEFAULT… works in command line and in url:
language: en pipeline: - name: WhitespaceTokenizer - name: RegexFeaturizer case_sensitive: False - name: LexicalSyntacticFeaturizer - name: CountVectorsFeaturizer analyzer: word - name: DIETClassifier epochs: 50