All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning starting with version 0.11.0.
[Unreleased 1.1.0] - master
Note
This version is not yet released and is under active development.
Compatibility release for Rasa 1.1.0. There have not been any additional changes.
- validate events returned from action - checks for sanity
- endpoint to retrieve all registered actions at
/actions
- package renamed from
rasa_core_sdk
torasa_sdk
- please make sure to update your imports accordingly
Compatibility release for Rasa Core 0.14.0. There have not been any
additional changes when compared to 0.13.1
.
- 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
- validate_{} functions for slots now return dictionaries of form {slot: value} instead of value
- Slots extracted from entities in user input upon calling form activation are now correctly validated
- 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
- add optional validate_{slot} methods to FormAction
- forms can now be deactivated during the validation function by returning self.deactivate()
- Function to get latest input channel from the tracker with
tracker.get_latest_input_channel()
self._deactivate()
method from theFormAction
class has been renamed toself.deactivate()
- changed endpoint function so that it is now accessible with Python as well
- doc formatting preventing successful rasa core travis build
- 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 - add warning in case of mismatched version of rasa_core and rasa_core_sdk
FormAction
class was completely refactoredrequired_fields()
is changed torequired_slots(tracker)
- moved
FormAction.get_other_slots(...)
functionality toFormAction.extract_other_slots(...)
- moved
FormAction.get_requested_slot(...)
functionality toFormAction.extract_requested_slot(...)
- logic of requesting next slot can be customized in
FormAction.request_next_slot(...)
method
FormField
class and its subclasses
- current state call in tracker
- wrong event name for the
AgentUttered
event - due to the wrong name, rasa core would deserialise the wrong event.