Rasa: 3.4.11 Release

Release date:
May 10, 2023
Previous version:
3.4.10 (released April 18, 2023)
Magnitude:
416 Diff Delta
Contributors:
3 total committers
Data confidence:
Commits:

Top Contributors in 3.4.11

vcidst
ancalita
sanchariGr

Directory Browser for 3.4.11

We haven't yet finished calculating and confirming the files and directories changed in this release. Please check back soon.

Release Notes Published

Rasa 3.4.11 (2023-05-09)

Bugfixes

  • #12325: Fix parsing of RabbitMQ URL provided in endpoints.yml file to include vhost path and query parameters. Re-allows inclusion of credentials in the URL as a regression fix (this was supported in 2.x).
  • #12364: SlotSet events will be emitted when the value set by the custom action is the same as the existing value of the slot. This was fixed for AugmentedMemoizationPolicy to work properly with truncated trackers.

To restore the previous behaviour, the custom action can return a SlotSet only if the slot value has changed. For example,

  class CustomAction(Action):
      def name(self) -> Text:
          return "custom_action"

      def run(self, dispatcher: CollectingDispatcher,
              tracker: Tracker,
              domain: Dict[Text, Any]) -> List[Dict[Text, Any]]:
          # current value of the slot
          slot_value = tracker.get_slot('my_slot')

          # value of the entity
          # this is parsed from the user utterance
          entity_value = next(tracker.get_latest_entity_values("entity_name"), None)

          if slot_value != entity_value:
            return[SlotSet("my_slot", entity_value)]

Miscellaneous internal changes