Krogsager
(Anders)
September 18, 2019, 7:27am
1
I’m trying to save changes to my model configuration but rasa x gives me an error.
Yaml
language: en
pipeline: supervised_embeddings
policies:
- name: MemoizationPolicy
- name: KerasPolicy
- name: MappingPolicy
- name: FallbackPolicy
nlu_threshold: 0.4
core_threshold: 0.3
fallback_action_name: action_default_fallback
The error comes after I add the fallback policy from here . I had to remove the quote from the text. There is no indication in the GUI of what the issue might be.
b1uec0in
(Bae Yong-Ju)
September 18, 2019, 7:55am
2
It seems that indentations are not correct.
The indentation for each level consists of exactly two space .
Try this.
language: en
pipeline: supervised_embeddings
policies:
- name: MemoizationPolicy
- name: KerasPolicy
- name: MappingPolicy
- name: FallbackPolicy
nlu_threshold: 0.4
core_threshold: 0.3
fallback_action_name: action_default_fallback
Krogsager
(Anders)
September 18, 2019, 8:45am
3
You are right! I obviously haven’t written yaml file in some time.