add helper function extract slots to validate #238
Labels
area:rasa-sdk 🧑💻
Everything that touches our python Rasa SDK
priority:normal
Impacts some users. Prevents using a secondary feature normally.
type:enhancement ✨
Additions of new features or changes to existing ones, should be doable in a single PR
With the changes of the RulePolicy, form slots are validated in one custom action
action_validate_{form_name}
. Any slots which extracted by the form action and have to be validated are appended to the tracker asSlotSet
events. So whenever we triggeraction_validate_{form_name}
from the form action we will send a tracker, which has the following eventsWe need to make it easier to validate the newly extracted slots (instead of having users to go through the events one by one) we should add a helper:
The text was updated successfully, but these errors were encountered: