rasa: Unable to update config.yml in Rasa X

Rasa version: 2.2.7-full

Rasa SDK version (if used & relevant): 2.2.0

Rasa X version (if used & relevant): 0.35.0

Python version: 3.8

Operating system (windows, osx, …): Amazon Linux

Issue: I am not able to update the configuration file. Each time I attempt to do so, I receive a 422 error. In addition, syncing with Github also does not appear to modify the config file. This error still occurs after disconnecting from Github. It is present on this version and also the 0.33.0 version used before.

Error (including full traceback):

[2021-01-28 04:20:44 +0000] - (sanic.access)[INFO][192.168.41.156:56032]: PUT http://<redacted>.us-east-1.elb.amazonaws.com/api/projects/default/settings  422 237
DEBUG:rasax.community.services.model_service:Model discovery completed.

Command or request that led to error: Manually updating the configuration file by adding the following line:

- name: aws.ComprehendMedical

Also occurs by just removing anything or any other changes.

Content of configuration file (config.yml) (if relevant):

language: en
pipeline:
  - name: WhitespaceTokenizer
  - name: RegexFeaturizer
  - name: LexicalSyntacticFeaturizer
  - name: CountVectorsFeaturizer
  - name: CountVectorsFeaturizer
    analyzer: char_wb
    min_ngram: 1
    max_ngram: 4
  - name: aws.ComprehendMedical
  - name: DIETClassifier
    epochs: 100
  - name: EntitySynonymMapper
  - name: ResponseSelector
    epochs: 100
  - name: FallbackClassifier
    threshold: 0.3
    ambiguity_threshold: 0.1
policies: null

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 17 (14 by maintainers)

Most upvoted comments

@kearnsw

When I changed the pipelines (or policies too) to [] instead of null, it works fine.

Does this work for you too?

yes, it does. However i do not know where this ‘null’ came from.

I also noticed something similar at other parts (like domain interface). The red alert is not very clear, but once you inspect the network connection at the developer tools of the browser, you get a better message about the underlying issue.