diff --git a/changelog/11801.doc.md b/changelog/11801.doc.md new file mode 100644 index 000000000000..0b6a7bbf6d0e --- /dev/null +++ b/changelog/11801.doc.md @@ -0,0 +1 @@ +Clarify prioritisation of used slot asking option in forms in documentation. diff --git a/docs/docs/forms.mdx b/docs/docs/forms.mdx index c82506e792b7..ded6db5cf0c9 100644 --- a/docs/docs/forms.mdx +++ b/docs/docs/forms.mdx @@ -491,3 +491,11 @@ class AskForSlotAction(Action): dispatcher.utter_message(text="What cuisine?") return [] ``` + +If there is more than one asking option for the slot, Rasa prioritizes in the following order: + +1. `action_ask__` +2. `utter_ask__` +3. `action_ask_` +4. `utter_ask_` +