You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.rst
+112Lines changed: 112 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,6 +17,118 @@ This project adheres to `Semantic Versioning`_ starting with version 1.0.
17
17
18
18
.. towncrier release notes start
19
19
20
+
[1.6.0] - 2019-12-18
21
+
^^^^^^^^^^^^^^^^^^^^
22
+
23
+
Deprecations and Removals
24
+
-------------------------
25
+
- `#4935 <https://github.com/rasahq/rasa/issues/4935>`_: Removed ``ner_features`` as a feature name from ``CRFEntityExtractor``, use ``text_dense_features`` instead.
26
+
27
+
The following settings match the previous ``NGramFeaturizer``:
28
+
29
+
.. code-block:: yaml
30
+
31
+
- name: 'CountVectorsFeaturizer'
32
+
analyzer: 'char_wb'
33
+
min_ngram: 3
34
+
max_ngram: 17
35
+
max_features: 10
36
+
min_df: 5
37
+
- `#4957 <https://github.com/rasahq/rasa/issues/4957>`_: To use custom features in the ``CRFEntityExtractor`` use ``text_dense_features`` instead of ``ner_features``. If
38
+
``text_dense_features`` are present in the feature set, the ``CRFEntityExtractor`` will automatically make use of
39
+
them. Just make sure to add a dense featurizer in front of the ``CRFEntityExtractor`` in your pipeline and set the
40
+
flag ``return_sequence`` to ``True`` for that featurizer.
41
+
See https://rasa.com/docs/rasa/nlu/entity-extraction/#passing-custom-features-to-crfentityextractor.
42
+
- `#4990 <https://github.com/rasahq/rasa/issues/4990>`_: Deprecated ``Agent.continue_training``. Instead, a model should be retrained.
43
+
- `#684 <https://github.com/rasahq/rasa/issues/684>`_: Specifying lookup tables directly in the NLU file is now deprecated. Please specify
44
+
them in an external file.
45
+
46
+
Features
47
+
--------
48
+
- `#4795 <https://github.com/rasahq/rasa/issues/4795>`_: Replaced the warnings about missing templates, intents etc. in validator.py by debug messages.
49
+
- `#4830 <https://github.com/rasahq/rasa/issues/4830>`_: Added conversation sessions to trackers.
50
+
51
+
A conversation session represents the dialog between the assistant and a user.
52
+
Conversation sessions can begin in three ways: 1. the user begins the conversation
53
+
with the assistant, 2. the user sends their first message after a configurable period
54
+
of inactivity, or 3. a manual session start is triggered with the ``/session_start``
55
+
intent message. The period of inactivity after which a new conversation session is
56
+
triggered is defined in the domain using the ``session_expiration_time`` key in the
57
+
``session_config`` section. The introduction of conversation sessions comprises the
58
+
following changes:
59
+
60
+
- Added a new event ``SessionStarted`` that marks the beginning of a new conversation
61
+
session.
62
+
- Added a new default action ``ActionSessionStart``. This action takes all
63
+
``SlotSet`` events from the previous session and applies it to the next session.
64
+
- Added a new default intent ``session_start`` which triggers the start of a new
65
+
conversation session.
66
+
- ``SQLTrackerStore`` and ``MongoTrackerStore`` only retrieve
67
+
events from the last session from the database.
68
+
69
+
70
+
.. note::
71
+
72
+
The session behaviour is disabled for existing projects, i.e. existing domains
73
+
without session config section.
74
+
- `#4935 <https://github.com/rasahq/rasa/issues/4935>`_: Preparation for an upcoming change in the ``EmbeddingIntentClassifier``:
75
+
76
+
Add option ``use_cls_token`` to all tokenizers. If it is set to ``True``, the token ``__CLS__`` will be added to
77
+
the end of the list of tokens. Default is set to ``False``. No need to change the default value for now.
78
+
79
+
Add option ``return_sequence`` to all featurizers. By default all featurizers return a matrix of size
80
+
(1 x feature-dimension). If the option ``return_sequence`` is set to ``True``, the corresponding featurizer will return
81
+
a matrix of size (token-length x feature-dimension). See https://rasa.com/docs/rasa/nlu/components/#featurizers.
82
+
Default value is set to ``False``. However, you might want to set it to ``True`` if you want to use custom features
83
+
in the ``CRFEntityExtractor``.
84
+
See https://rasa.com/docs/rasa/nlu/entity-extraction/#passing-custom-features-to-crfentityextractor.
85
+
86
+
.. warning::
87
+
88
+
These changes break model compatibility. You will need to retrain your old models!
89
+
90
+
Improvements
91
+
------------
92
+
- `#3549 <https://github.com/rasahq/rasa/issues/3549>`_: Added ``--no-plot`` option for ``rasa test`` command, which disables rendering of confusion matrix and histogram. By default plots will be rendered.
93
+
- `#4086 <https://github.com/rasahq/rasa/issues/4086>`_: If matplotlib couldn't set up a default backend, it will be set automatically to TkAgg/Agg one
94
+
- `#4647 <https://github.com/rasahq/rasa/issues/4647>`_: Add the option ```random_seed``` to the ```rasa data split nlu``` command to generate
95
+
reproducible train/test splits.
96
+
- `#4734 <https://github.com/rasahq/rasa/issues/4734>`_: Changed ``url`` ``__init__()`` arguments for custom tracker stores to ``host`` to reflect the ``__init__`` arguments of
97
+
currently supported tracker stores. Note that in ``endpoints.yml``, these are still declared as ``url``.
98
+
- `#4751 <https://github.com/rasahq/rasa/issues/4751>`_: The ``kafka-python`` dependency has become as an "extra" dependency. To use the
99
+
``KafkaEventConsumer``, ``rasa`` has to be installed with the ``[kafka]`` option, i.e.
100
+
101
+
.. code-block:: bash
102
+
103
+
$ pip install rasa[kafka]
104
+
- `#4801 <https://github.com/rasahq/rasa/issues/4801>`_: Allow creation of natural language interpreter and generator by classname reference
105
+
in ``endpoints.yml``.
106
+
- `#4834 <https://github.com/rasahq/rasa/issues/4834>`_: Made it explicit that interactive learning does not work with NLU-only models.
107
+
108
+
Interactive learning no longer trains NLU-only models if no model is provided
109
+
and no core data is provided.
110
+
- `#4899 <https://github.com/rasahq/rasa/issues/4899>`_: The ``intent_report.json`` created by ``rasa test`` now creates an extra field
111
+
``confused_with`` for each intent. This is a dictionary containing the names of
112
+
the most common false positives when this intent should be predicted, and the
113
+
number of such false positives.
114
+
- `#4976 <https://github.com/rasahq/rasa/issues/4976>`_: ``rasa test nlu --cross-validation`` now also includes an evaluation of the response selector.
115
+
As a result, the train and test F1-score, accuracy and precision is logged for the response selector.
116
+
A report is also generated in the ``results`` folder by the name ``response_selection_report.json``
117
+
118
+
Bugfixes
119
+
--------
120
+
- `#4635 <https://github.com/rasahq/rasa/issues/4635>`_: If a ``wait_time_between_pulls`` is configured for the model server in ``endpoints.yml``,
121
+
this will be used instead of the default one when running Rasa X.
122
+
- `#4759 <https://github.com/rasahq/rasa/issues/4759>`_: Training Luis data with ``luis_schema_version`` higher than 4.x.x will show a warning instead of throwing an exception.
123
+
- `#4799 <https://github.com/rasahq/rasa/issues/4799>`_: Running ``rasa interactive`` with no NLU data now works, with the functionality of ``rasa interactive core``.
124
+
- `#4917 <https://github.com/rasahq/rasa/issues/4917>`_: When loading models from S3, namespaces (folders within a bucket) are now respected.
125
+
Previously, this would result in an error upon loading the model.
126
+
- `#4925 <https://github.com/rasahq/rasa/issues/4925>`_: "rasa init" will ask if user wants to train a model
127
+
- `#4942 <https://github.com/rasahq/rasa/issues/4942>`_: Pin ``multidict`` dependency to 4.6.1 to prevent sanic from breaking,
128
+
see https://github.com/huge-success/sanic/issues/1729
129
+
- `#4985 <https://github.com/rasahq/rasa/issues/4985>`_: Fix errors during training and testing of ``ResponseSelector``.
0 commit comments