Releases: RasaHQ/rasa-sdk
Releases · RasaHQ/rasa-sdk
0.13.1
Added
- add formatter 'black'
- Slots filled before the start of a form are now validated upon form start
- In debug mode, the values of required slots for a form are now printed
before submitting
Changed
- validate{} functions for slots now return dictionaries of form {slot: value}
instead of value
Fixed
- Slots extracted from entities in user input upon calling form activation are
now correctly validated
0.13.0
Added
- Abstract Actions can now be subclassed
- add warning in case of mismatched version of rasa_core and rasa_core_sdk
FormAction.from_trigger_intent
allows slot extraction from message
triggering the FormActionTracker.active_form
now includestrigger_message
attribute to allow
access to message triggering the form
0.13.0a1
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