Skip to content

Releases: RasaHQ/rasa-sdk

0.13.1

28 Apr 07:58
47c6e96
Compare
Choose a tag to compare

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

28 Apr 07:58
Compare
Choose a tag to compare

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 FormAction
  • Tracker.active_form now includes trigger_message attribute to allow
    access to message triggering the form

0.13.0a1

28 Feb 09:43
5da8d76
Compare
Choose a tag to compare
0.13.0a1 Pre-release
Pre-release
Merge pull request #49 from smn-snkl/abstract_forms

Abstract Action Detection

0.12.2

28 Apr 07:58
671c08c
Compare
Choose a tag to compare

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 the FormAction class has been
    renamed to self.deactivate()

0.12.1

28 Apr 07:58
Compare
Choose a tag to compare

Fixed

  • doc formatting preventing successfull rasa core travis build

0.12.0

28 Apr 07:58
Compare
Choose a tag to compare

Added

  • added Dockerfile for rasa_core_sdk
  • add active_form and latest_action_name properties to Tracker
  • 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(...) and FormAction.from_text(...)
  • add FormAction.validate(...) method to validate user input

Changed

  • FormAction class was completely refactored
  • required_fields() is changed to required_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

Fixed

0.11.5

28 Apr 07:58
Compare
Choose a tag to compare

Fixed

  • current state call in tracker

0.11.4

28 Apr 07:58
Compare
Choose a tag to compare

Fixed

  • wrong event name for the AgentUttered event - due to the wrong name,
    rasa core would deserialise the wrong event.