FreeTextFormField and Interactive Learning

Hey there!

I have numerous FreeTextFormFields which should be filled within a FormAction. I’m using the interactive learning way to create stories but I ask myself how to handle the FreeTextFormFields with it?

When filling a EntityFormFieldfor example the story part looks like:

* intentName{"key": "value"}
    - action_customFormAction
    - slot{"key": "value"}
    - slot{"requested_slot": "nextRequiredSlot"}

I see at this post from @akelad and also from the doku that there should be multiple intents as the NLU apparently can’t be sure on free text fields. But what about the slot setting?

Does for example setting 2 FreeTextFormFields look like:

* possibleIntent1 OR possibleIntent2 OR possibleIntent3
    - action_customFormAction
    - slot{"requested_slot": "nextRequiredFreeTextFormFieldSlot"}
* possibleIntent1 OR possibleIntent2 OR possibleIntent3
    - action_customFormAction

If so - it would mean that I have to manually manipulate the generated stories, right?

Yes you can do it with ORs. You don’t have to manipulate the generated stories though, you can add them as is

1 Like