-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
Slot mappings for [Forms](forms.mdx) in the domain are now optional. If you do not | ||
provide any slot mappings as part within the domain, you need to provide | ||
[custom slot mappings](forms.mdx#custom-slot-mappings) through a custom action. | ||
A form without slot mappings is specified as follows: | ||
|
||
```rasa-yaml | ||
forms: | ||
my_form: | ||
# no mappings | ||
``` | ||
|
||
The action for [forms](forms.mdx) can now be overridden by defining a custom action | ||
with the same name as the form. This can be used to keep using the deprecated | ||
Rasa Open Source `FormAction` which is implemented within the Rasa SDK. Note that it is | ||
**not** recommended to override the form action for anything else than using the | ||
deprecated Rasa SDK `FormAction`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters