yem
(_)
June 29, 2021, 12:34pm
1
What could be the cause of this error? I do have a valid YAML file with stories.
config.yml
default pipeline
policies:
- name: RulePolicy
- name: TEDPolicy
max_history: 5
epochs: 100
constrain_similarities: true
If anyone can help, thank you
nik202
(NiK202)
June 29, 2021, 12:37pm
2
@yem why you not mentioned - name: MemoizationPolicy?
yem
(_)
June 29, 2021, 12:39pm
3
nik202:
MemoizationPolicy
No particular reason. I’m still testing stuff. Is the MemoizationPolicy needed for the TEDPolicy to work?
nik202
(NiK202)
June 29, 2021, 12:40pm
4
@yem try mention and provide more training data for “nlu_fallback” please and re-train again while deleting previous models.
yem
(_)
June 29, 2021, 12:44pm
5
@nik202 Thank you for your responses. I added the MemoizationPolicy but the Can not train 'TEDPolicy'. No data was provided. Skipping training of the policy.
still persists.
nik202
(NiK202)
June 29, 2021, 12:46pm
6
@yem You need to provide training data for it, if you not required that policy just comment out on the TEDPolicy
and train the model.
Check more details here: Policies OR Unpacking the TED Policy in Rasa Open Source
yem
(_)
June 30, 2021, 6:36am
7
I figured it out.
Somewhere along the way I must have accidentally deleted the stories:
keyword in my stories.yml file.
File format causing the error:
version: "2.0"
- story: happy path
steps:
- intent: greet
- action: utter_greet
- intent: mood_great
- action: utter_happy
Correct format:
version: "2.0"
stories:
- story: happy path
steps:
- intent: greet
- action: utter_greet
- intent: mood_great
- action: utter_happy
1 Like
KvenS
(Sven Kirchner)
July 20, 2021, 5:05pm
8
Thank you, this saved me a lot of headaches while searching! I did the same by mistake
1 Like
jeacunag
(J. A.)
January 27, 2022, 4:41am
9
a lifesaver, I had the same format mistake!