Releases: RasaHQ/rasa-sdk
Releases · RasaHQ/rasa-sdk
0.12.2
Added
- add optional [validate_{slot}]{.title-ref} methods to [FormAction]{.title-ref}
- forms can now be deactivated during the validation function by returning
[self.deactivate()]{.title-ref} - Function to get latest input channel from the tracker with
tracker.get_latest_input_channel()
Changed
self._deactivate()
method from theFormAction
class has been
renamed toself.deactivate()
0.12.1
0.12.0
Added
- added Dockerfile for rasa_core_sdk
- add
active_form
andlatest_action_name
properties toTracker
- add
FormAction.slot_mapping()
method to specify the mapping between
user input and requested slot in the form - add helper methods
FormAction.from_entity(...)
,
FormAction.from_intent(...)
andFormAction.from_text(...)
- add
FormAction.validate(...)
method to validate user input
Changed
FormAction
class was completely refactoredrequired_fields()
is changed torequired_slots(tracker)
- moved
FormAction.get_other_slots(...)
functionality to
FormAction.extract_other_slots(...)
- moved
FormAction.get_requested_slot(...)
functionality to
FormAction.extract_requested_slot(...)
- logic of requesting next slot can be customized in
FormAction.request_next_slot(...)
method
Removed
FormField
class and its subclasses