RulePolicy: scope dispatches per form #6017
Labels
area:rasa-oss 🎡
Anything related to the open source Rasa framework
difficulty:easy 🦋
type:enhancement ✨
Additions of new features or changes to existing ones, should be doable in a single PR
Current State
As part of the
RulePolicy
we moved theFormAction
from the Rasa SDK to Rasa Open Source.Whenever we request a slot, we currently dispatch an utterance to ask for this slot (see here). The utterance follows the template
utter_ask_<slot name>
.The problem is that if a slot is part of multiple forms, we always use the same utterance to ask for the slot although the slot might have slightly different meanings in the form.
Proposed Changes
utter_ask_<form_name>_<slot_name>
in thedomain
. If yes, dispatch it. If no, dispatchutter_ask_<slot_name>
The text was updated successfully, but these errors were encountered: