Rasa Open Source Change Log

You are viewing documentation for our open source project which is maintained by the community. If you want to get started building assistants with Rasa please check out our latest documentation here.

×

SearchK

All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning starting with version 1.0.

[2.8.34] - 2022-12-22 No significant changes. #

[2.8.33] - 2022-08-30 #

Bugfixes #

[2.8.32] - 2022-08-15 No significant changes. #

[2.8.31] - 2022-07-12 #

Bugfixes #

[2.8.30] - 2022-07-05 #

Bugfixes #

Miscellaneous internal changes #

[2.8.29] - 2022-06-23 #

Miscellaneous internal changes #

[2.8.28] - 2022-05-19 #

Improvements #

[2.8.27] - 2022-04-05 #

Deprecations and Removals #

[2.8.26] - 2022-03-15 #

Bugfixes #

[2.8.25] - 2022-02-11 #

Bugfixes #

[2.8.24] - 2022-02-10 #

Improvements #

Some entity extractors (s.a. RegexEntityExtractor) can generate multiple entities from a single expression. Before this change, rasa test would fail in this case, because test stories could not be annotated correctly. New annotation option is

Copy

stories:

- story: Some story

steps:

- user: |

cancel my [iphone][{"entity":"iphone", "value":"iphone"},{"entity":"smartphone", "value":"true"}{"entity":"mobile_service", "value":"true"}]

intent: cancel_contract

[2.8.23] - 2022-02-01 #

Bugfixes #

Miscellaneous internal changes #

[2.8.22] - 2022-01-19 #

Bugfixes #

[2.8.21] - 2022-01-07 #

Bugfixes #

Miscellaneous internal changes #

[2.8.20] - 2022-01-05 #

Improvements #

Bugfixes #

[2.8.19] - 2021-12-28 #

Bugfixes #

[2.8.18] - 2021-12-27 #

Bugfixes #

Previously not all configured attributes were necessarily known when merging Domains, and in the case of entities` were not being properly assigned tointents``.

[2.8.17] - 2021-12-21 #

Bugfixes #

[2.8.16] - 2021-12-09 #

Improvements #

Bugfixes #

[2.8.15] - 2021-11-25 #

Bugfixes #

[2.8.14] - 2021-11-18 #

Bugfixes #

[2.8.13] - 2021-11-11 #

Bugfixes #

Miscellaneous internal changes #

[2.8.12] - 2021-10-21 #

Bugfixes #

This happened in two ways:

  1. if for a user message some entities were extracted multiple times (by multiple entity extractors) but listed only once in the test story,
  2. if the order in which entities from a message were extracted didn't match the order in which they were listed in the test story.

Improved Documentation #

[2.8.11] - 2021-10-20 #

Bugfixes #

This removes the need to pin the version of pyjwt as the newer version of sanic-jwt manages this properly.

[2.8.10] - 2021-10-14 #

Bugfixes #

Example 1: when the whole json is a List

Copy

[



{



"blocks": {



"type": "progression_bar",



"text": {"text": "progression 1", "level": "1"},



}



},



{"sender": {"id": "example_id"}},



]

Example 2: instead of being a Dict, blocks is a List when there are 2 type keys under it

Copy

{

"blocks": [



{"type": "title", "text": {"text": "Conversation progress"}},



{



"type": "progression_bar",



"text": {"text": "Look how far we are...", "level": "1"},



},



]

}

Copy

File "./venv/lib/python3.8/site-packages/rasa/nlu/classifiers/diet_classifier.py", line 803, in train

self.check_correct_entity_annotations(training_data)

File "./venv/lib/python3.8/site-packages/rasa/nlu/extractors/extractor.py", line 418, in check_correct_entity_annotations

entities_repr =[



File "./venv/lib/python3.8/site-packages/rasa/nlu/extractors/extractor.py", line 422, in



entity[ENTITY_ATTRIBUTE_VALUE],



KeyError: 'value'
\

[2.8.9] - 2021-10-08 #\

\

Improvements #\

\

caution\








This breaks backward compatibility of previously trained models.
It is not possible to load models trained with previous versions of Rasa Open Source. Please re-train
your assistant before trying to use this version.

\

[2.8.8] - 2021-10-06 #\

\

Improvements #\

\

Improved Documentation #\

\

[2.8.7] - 2021-09-20 #\

\

Bugfixes #\

\

[2.8.6] - 2021-09-09 #\

\

Bugfixes #\

\

[2.8.5] - 2021-09-06 #\

\

Bugfixes #\

\

[2.8.4] - 2021-09-02 #\

\

Improvements #\

\

Bugfixes #\

\

Miscellaneous internal changes #\

\

[2.8.3] - 2021-08-19 #\

\

Bugfixes #\

\

[2.8.2] - 2021-08-04 #\

\

Bugfixes #\

\

Improved Documentation #\

\

[2.8.1] - 2021-07-22 #\

\

Improvements #\

\

Bugfixes #\

\

[2.8.0] - 2021-07-12 #\

\

Deprecations and Removals #\

\

Features #\

\

Improvements #\

\

Bugfixes #\

\

Miscellaneous internal changes #\

\

[2.7.1] - 2021-06-16 #\

\

Bugfixes #\

\

[2.7.0] - 2021-06-03 #\

\

Improvements #\

\

Bugfixes #\

\

Miscellaneous internal changes #\

\

[2.6.3] - 2021-05-28 #\

\

Bugfixes #\

\

Miscellaneous internal changes #\

\

[2.6.2] - 2021-05-18 #\

\

Bugfixes #\

\

Improved Documentation #\

\

Miscellaneous internal changes #\

\

[2.6.1] - 2021-05-11 #\

\

Bugfixes #\

\

[2.6.0] - 2021-05-06 #\

\

Deprecations and Removals #\

\

Features #\

\

Improvements #\

\

Bugfixes #\

\

[2.5.2] - 2021-06-16 #\

\

Features #\

\

[2.5.1] - 2021-04-28 #\

\

Bugfixes #\

\

[2.5.0] - 2021-04-12 #\

\

Deprecations and Removals #\

\

Features #\

\

Improvements #\

\

Bugfixes #\

\

Miscellaneous internal changes #\

\

[2.4.3] - 2021-03-26 #\

\

Bugfixes #\

\

[2.4.2] - 2021-03-25 #\

\

Bugfixes #\

\

[2.4.1] - 2021-03-23 #\

\

Bugfixes #\

\

[2.4.0] - 2021-03-11 #\

\

Deprecations and Removals #\

\

Improvements #\

\

Bugfixes #\

\

Improved Documentation #\

\

Miscellaneous internal changes #\

\

[2.3.5] - 2021-06-16 #\

\

Features #\

\

Improvements #\

\

Bugfixes #\

\

Improved Documentation #\

\

[2.3.4] - 2021-02-26 #\

\

Bugfixes #\

\

[2.3.3] - 2021-02-25 #\

\

Bugfixes #\

\

[2.3.2] - 2021-02-22 #\

\

Bugfixes #\

\

[2.3.1] - 2021-02-17 #\

\

Bugfixes #\

\

[2.3.0] - 2021-02-11 #\

\

Improvements #\

\

Do something with the metadata\


print(metadata)
\

the session should begin with a `session_started` event and an `action_listen`\

\

as a user message follows\


return [SessionStarted(), ActionExecuted("action_listen")]

Copy

- [#7579](https://github.com/rasahq/rasa/issues/7579): Add BILOU tagging schema for entity extraction in end-to-end TEDPolicy.

- [#7616](https://github.com/rasahq/rasa/issues/7616): Added two new parameters `constrain_similarities` and `model_confidence` to machine learning (ML) components - [DIETClassifier](/docs/rasa/2.x/components#dietclassifier), [ResponseSelector](/docs/rasa/2.x/components#dietclassifier) and [TEDPolicy](/docs/rasa/2.x/policies#ted-policy).

Setting `constrain_similarities=True` adds a sigmoid cross-entropy loss on all similarity values to restrict them to an approximate range in `DotProductLoss`. This should help the models to perform better on real world test sets.

By default, the parameter is set to `False` to preserve the old behaviour, but users are encouraged to set it to `True` and re-train their assistants as it will be set to `True` by default from Rasa Open Source 3.0.0 onwards.

Parameter `model_confidence` affects how model's confidence for each label is computed during inference. It can take three values:

1. `softmax` - Similarities between input and label embeddings are post-processed with a softmax function, as a result of which confidence for all labels sum up to 1.

2. `cosine` - Cosine similarity between input label embeddings. Confidence for each label will be in the range `[-1,1]`.

3. `inner` - Dot product similarity between input and label embeddings. Confidence for each label will be in an unbounded range.

Setting `model_confidence=cosine` should help users tune the fallback thresholds of their assistant better. The default value is `softmax` to preserve the old behaviour, but we recommend using `cosine` as that will be the new default value from Rasa Open Source 3.0.0 onwards. The value of this option does not affect how confidences are computed for entity predictions in `DIETClassifier` and `TEDPolicy`.

With both the above recommendations, users should configure their ML component, e.g. `DIETClassifier`, as

```yaml

- name: DIETClassifier

model_confidence: cosine

constrain_similarities: True

...

Once the assistant is re-trained with the above configuration, users should also tune fallback confidence thresholds.

Configuration option loss_type=softmax is now deprecated and will be removed in Rasa Open Source 3.0.0 . Use loss_type=cross_entropy instead.

The default auto-configuration is changed to use constrain_similarities=True and model_confidence=cosine in ML components so that new users start with the recommended configuration.

**EDIT**: Some post-release experiments revealed that using model_confidence=cosine is wrong as it can change the order of predicted labels. That's why this option was removed in Rasa Open Source version 2.3.3. model_confidence=inner is deprecated as it produces an unbounded range of confidences which can break the logic of assistants in various other places. Please use model_confidence=linear_norm which will produce a linearly normalized version of dot product similarities with each value in the range [0,1]. Please read more about this change under the notes for release 2.3.4.
\

Bugfixes #\

\

Miscellaneous internal changes #\

\

[2.2.10] - 2021-02-08 #\

\

Improvements #\

\

Bugfixes #\

\

[2.2.9] - 2021-02-02 #\

\

Bugfixes #\

\

[2.2.8] - 2021-01-28 #\

\

Bugfixes #\

\

[2.2.7] - 2021-01-25 #\

\

Improvements #\

\

Bugfixes #\

\

[2.2.6] - 2021-01-21 #\

\

Bugfixes #\

\

[2.2.5] - 2021-01-12 #\

\

Bugfixes #\

\

Miscellaneous internal changes #\

\

[2.2.4] - 2021-01-08 #\

\

Improvements #\

\

Bugfixes #\

\

[2.2.3] - 2021-01-06 #\

\

Bugfixes #\

\

[2.2.2] - 2020-12-21 #\

\

Bugfixes #\

\

[2.2.1] - 2020-12-17 #\

\

Bugfixes #\

\

[2.2.0] - 2020-12-16 #\

\

Deprecations and Removals #\

\

Features #\

\

Improvements #\

\

Bugfixes #\

\

caution\








This change is model-breaking. Please retrain your models.
\

Improved Documentation #\

\

Miscellaneous internal changes #\

\

[2.1.3] - 2020-12-04 #\

\

Improvements #\

\

Bugfixes #\

\

[2.1.2] - 2020-11-27 #\

\

Bugfixes #\

\

[2.1.1] - 2020-11-23 #\

\

Bugfixes #\

\

[2.1.0] - 2020-11-17 #\

\

Deprecations and Removals #\

\

caution\








This change is model-breaking. Please retrain your models.
\

Features #\

\

Improvements #\

\

no mappings\










The action for forms can now be overridden by defining a custom action
with the same name as the form. This can be used to keep using the deprecated
Rasa Open Source FormAction which is implemented within the Rasa SDK. Note that it is
not recommended to override the form action for anything else than using the
deprecated Rasa SDK FormAction.
\

Bugfixes #\

\

Improved Documentation #\

\

Miscellaneous internal changes #\

\

[2.0.8] - 2020-11-26 #\

\

Bugfixes #\

\

[2.0.7] - 2020-11-24 #\

\

Bugfixes #\

\

[2.0.6] - 2020-11-10 #\

\

Bugfixes #\

\

[2.0.5] - 2020-11-10 #\

\

Bugfixes #\

\

[2.0.4] - 2020-11-08 #\

\

Bugfixes #\

\

[2.0.3] - 2020-10-29 #\

\

Bugfixes #\

\

[2.0.2] - 2020-10-22 #\

\

Bugfixes #\

\

Miscellaneous internal changes #\

\

[2.0.1] - 2020-10-20 #\

\

Bugfixes #\

\

[2.0.0] - 2020-10-07 #\

\

Deprecations and Removals #\

\

Features #\

\

caution\








This change is model-breaking. Please retrain your models.
\

Improvements #\

\

caution\








This change is model breaking. Please, retrain your models.
\

caution\








This change is model-breaking. Please retrain your models.
\

Bugfixes #\

\

Improved Documentation #\

\

Miscellaneous internal changes #\

\

[1.10.26] - 2021-06-17 #\

\

Features #\

\

[1.10.25] - 2021-04-14 #\

\

Features #\

\

Improvements #\

\

[1.10.24] - 2021-03-29 #\

\

Bugfixes #\

\

[1.10.23] - 2021-02-22 #\

\

Bugfixes #\

\

[1.10.22] - 2021-02-05 #\

\

Bugfixes #\

\

[1.10.21] - 2021-02-01 #\

\

Improvements #\

\

Bugfixes #\

\

[1.10.20] - 2020-12-18 #\

\

Bugfixes #\

\

[1.10.19] - 2020-12-17 #\

\

Improvements #\

\

[1.10.18] - 2020-11-26 #\

\

Bugfixes #\

\

[1.10.17] - 2020-11-12 #\

\

Bugfixes #\

\

[1.10.16] - 2020-10-15 #\

\

Bugfixes #\

\

[1.10.15] - 2020-10-09 #\

\

Bugfixes #\

\

Improvements #\

\

[1.10.14] - 2020-09-23 #\

\

Bugfixes #\

\

[1.10.13] - 2020-09-22 #\

\

Bugfixes #\

\

[1.10.12] - 2020-09-03 #\

\

Bugfixes #\

\

[1.10.11] - 2020-08-21 #\

\

Improvements #\

\

Bugfixes #\

\

[1.10.10] - 2020-08-04 #\

\

Bugfixes #\

\

[1.10.9] - 2020-07-29 #\

\

Improvements #\

\

Bugfixes #\

\

[1.10.8] - 2020-07-15 #\

\

Bugfixes #\

\

[1.10.7] - 2020-07-07 #\

\

Features #\

\

Bugfixes #\

\

[1.10.6] - 2020-07-06 #\

\

Bugfixes #\

\

[1.10.5] - 2020-07-02 #\

\

Bugfixes #\

\

[1.10.4] - 2020-07-01 #\

\

Bugfixes #\

\

[1.10.3] - 2020-06-12 #\

\

Improvements #\

\

Bugfixes #\

\

[1.10.2] - 2020-06-03 #\

\

Bugfixes #\

\

[1.10.1] - 2020-05-15 #\

\

Improvements #\

\

Bugfixes #\

\

Miscellaneous internal changes #\

\

\

[1.10.0] - 2020-04-28 #\

\

Features #\

\

note\








Composite entities are currently just supported by the DIETClassifier and CRFEntityExtractor.
\

Improvements #\

\

Bugfixes #\

\

Miscellaneous internal changes #\

\

\

[1.9.7] - 2020-04-23 #\

\

Improvements #\

\

Bugfixes #\

\

[1.9.6] - 2020-04-15 #\

\

Bugfixes #\

\

Miscellaneous internal changes #\

\

\

[1.9.5] - 2020-04-01 #\

\

Improvements #\

\

Bugfixes #\

\

[1.9.4] - 2020-03-30 #\

\

Bugfixes #\

\

[1.9.3] - 2020-03-27 #\

\

Bugfixes #\

\

[1.9.2] - 2020-03-26 #\

\

Improved Documentation #\

\

[1.9.1] - 2020-03-25 #\

\

Bugfixes #\

\

[1.9.0] - 2020-03-24 #\

\

Features #\

\

Improvements #\

\

Bugfixes #\

\

Improved Documentation #\

\

Miscellaneous internal changes #\

\

\

[1.8.3] - 2020-03-27 #\

\

Bugfixes #\

\

Improved Documentation #\

\

[1.8.2] - 2020-03-19 #\

\

Bugfixes #\

\

Improved Documentation #\

\

[1.8.1] - 2020-03-06 #\

\

Bugfixes #\

\

Miscellaneous internal changes #\

\

\

[1.8.0] - 2020-02-26 #\

\

Deprecations and Removals #\

\

Features #\

\

Improvements #\

\

Bugfixes #\

\

Improved Documentation #\

\

Miscellaneous internal changes #\

\

\

[1.7.4] - 2020-02-24 #\

\

Bugfixes #\

\

[1.7.3] - 2020-02-21 #\

\

Bugfixes #\

\

Improved Documentation #\

\

[1.7.2] - 2020-02-13 #\

\

Bugfixes #\

\

Improved Documentation #\

\

[1.7.1] - 2020-02-11 #\

\

Bugfixes #\

\

[1.7.0] - 2020-01-29 #\

\

Deprecations and Removals #\

\

Features #\

\

Improvements #\

\

Bugfixes #\

\

Miscellaneous internal changes #\

\

\

[1.6.2] - 2020-01-28 #\

\

Improvements #\

\

Bugfixes #\

\

[1.6.1] - 2020-01-07 #\

\

Bugfixes #\

\

[1.6.0] - 2019-12-18 #\

\

Deprecations and Removals #\

\

Features #\

\

note\


The session behavior is disabled for existing projects, i.e. existing domains
without session config section.
\

caution\








These changes break model compatibility. You will need to retrain your old models!

\

Improvements #\

\

Bugfixes #\

\

[1.5.3] - 2019-12-11 #\

\

Improvements #\

\

Bugfixes #\

\

[1.5.2] - 2019-12-09 #\

\

Improvements #\

\

Bugfixes #\

\

Improved Documentation #\

\

[1.5.1] - 2019-11-27 #\

\

Improvements #\

\

Bugfixes #\

\

[1.5.0] - 2019-11-26 #\

\

Features #\

\

Improvements #\

\

Deprecations and Removals #\

\

Bugfixes #\

\

[1.4.6] - 2019-11-22 #\

\

Bugfixes #\

\

[1.4.5] - 2019-11-14 #\

\

Bugfixes #\

\

[1.4.4] - 2019-11-13 #\

\

Features #\

\

Improvements #\

\

Bugfixes #\

\

[1.4.3] - 2019-10-29 #\

\

Bugfixes #\

\

[1.4.2] - 2019-10-28 #\

\

Deprecations and Removals #\

\

Bugfixes #\

\

[1.4.1] - 2019-10-22 #\


Regression: changes from 1.2.12 were missing from 1.4.0, readded them
\

[1.4.0] - 2019-10-19 #\

\

Features #\

\

Improvements #\

\

Deprecations and Removals #\

\

Bugfixes #\

\

[1.3.10] - 2019-10-18 #\

\

Features #\

\

Bugfixes #\

\

[1.3.9] - 2019-10-10 #\

\

Features #\

\

Bugfixes #\

\

[1.3.8] - 2019-10-08 #\

\

Improvements #\

\

Bugfixes #\

\

[1.3.7] - 2019-09-27 #\

\

Bugfixes #\

\

[1.3.6] - 2019-09-21 #\

\

Features #\

\

[1.3.5] - 2019-09-20 #\

\

Bugfixes #\

\

[1.3.4] - 2019-09-20 #\

\

Features #\

\

Bugfixes #\

\

Improvements #\

\

[1.3.3] - 2019-09-13 #\

\

Bugfixes #\

\

Deprecations and Removals #\

\

[1.3.2] - 2019-09-10 #\

\

Bugfixes #\

\

[1.3.1] - 2019-09-09 #\

\

Improvements #\

\

[1.3.0] - 2019-09-05 #\

\

Features #\

\

Improvements #\

\

Bugfixes #\

\

Deprecations and Removals #\

\

[1.2.12] - 2019-10-16 #\

\

Features #\

\

[1.2.11] - 2019-10-09 #\

\

Features #\

\

[1.2.10] - 2019-10-08 #\

\

Features #\

\

[1.2.9] - 2019-09-17 #\

\

Bugfixes #\

\

[1.2.8] - 2019-09-10 #\

\

Bugfixes #\

\

[1.2.7] - 2019-09-02 #\

\

Bugfixes #\

\

[1.2.6] - 2019-09-02 #\

\

Bugfixes #\

\

[1.2.5] - 2019-08-26 #\

\

Features #\

\

Bugfixes #\

\

[1.2.4] - 2019-08-23 #\

\

Bugfixes #\

\

[1.2.3] - 2019-08-15 #\

\

Improvements #\

\

[1.2.3] - 2019-08-15 #\

\

Improvements #\

\

Bugfixes #\

\

[1.2.2] - 2019-08-07 #\

\

Bugfixes #\

\

[1.2.1] - 2019-08-06 #\

\

Features #\

\

Bugfixes #\

\

[1.2.0] - 2019-08-01 #\

\

Features #\

\

Improvements #\

\

Bugfixes #\

\

[1.1.8] - 2019-07-25 #\

\

Features #\

\

Improvements #\

\

Bugfixes #\

\

[1.1.7] - 2019-07-18 #\

\

Features #\

\

Bugfixes #\

\

[1.1.6] - 2019-07-12 #\

\

Features #\

\

Improvements #\

\

Bugfixes #\

\

[1.1.5] - 2019-07-10 #\

\

Features #\

\

Improvements #\

\

Deprecations and Removals #\

\

Bugfixes #\

\

[1.1.4] - 2019-06-18 #\

\

Features #\

\

Improvements #\

\

Bugfixes #\

\

[1.1.3] - 2019-06-14 #\

\

Bugfixes #\

\

[1.1.2] - 2019-06-13 #\

\

Bugfixes #\

\

[1.1.1] - 2019-06-13 #\

\

Bugfixes #\

\

[1.1.0] - 2019-06-13 #\

\

Features #\

\

Improvements #\

\

Bugfixes #\

\

[1.0.9] - 2019-06-10 #\

\

Improvements #\

\

[1.0.8] - 2019-06-10 #\

\

Features #\

\

Improvements #\

\

Bugfixes #\

\

[1.0.7] - 2019-06-06 #\

\

Features #\

\

Bugfixes #\

\

[1.0.6] - 2019-06-03 #\

\

Bugfixes #\

\

[1.0.5] - 2019-06-03 #\

\

Bugfixes #\

\

[1.0.4] - 2019-06-03 #\

\

Features #\

\

Improvements #\

\

[1.0.3] - 2019-05-30 #\

\

Bugfixes #\

\

[1.0.2] - 2019-05-29 #\

\

Features #\

\

Bugfixes #\

\

[1.0.1] - 2019-05-21 #\

\

Bugfixes #\

\

[1.0.0] - 2019-05-21 #\

\

Features #\

\

Improvements #\

\

Deprecations and Removals #\

\

Bugfixes #\

\