arthurchan
(Chan Tsz Chung)
November 29, 2021, 7:34am
1
Hi community,
Is it possible to add more than one form in domain.yml? I had tried to add more than one form in my domain.yml like this:
Refer to the figure, when I added the section highlighted in blue, all of my working set of responses and intents are failed while everything works fine if the highlighted section is removed.
So here is my question:
What is the correct syntax to add multiple forms in domain.yml, if possible?
Thank you for your help!
ChrisRahme
(Chris Rahmé)
November 29, 2021, 8:07am
2
Your syntax is almost correct for Rasa 2.x, but not Rasa 3.x. Looks like you’re using 2.x anyway, correct me if I’m wrong.
It’s probably because of type: any
. The docs only mentions types from_entity
, from_intent
, from_trigger_intent
, and from_text
.
arthurchan
(Chan Tsz Chung)
November 29, 2021, 8:32am
3
@ChrisRahme Thank you for your prompt response.
It worked for me when I changed type: any
to type: from_text
.