Skip to content

Commit fc4dadd

Browse files
authored
Merge branch 'master' into test-basic-tutorial
2 parents aee731f + 58e546b commit fc4dadd

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+2691
-1653
lines changed

.github/stale.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ daysUntilClose: 7
55
# Issues with these labels will never be considered stale
66
exemptLabels:
77
- "type:enhancement ✨"
8+
- "type:enhancement :sparkles:"
89
- "type:discussion 👨‍👧‍👦"
10+
- "type:discussion :family_man_girl_boy:"
911
# Label to use when marking an issue as stale
1012
staleLabel: stale
1113
# Comment to post when marking an issue as stale. Set to `false` to disable

CHANGELOG.rst

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,25 @@ This project adheres to `Semantic Versioning`_ starting with version 1.0.
1717

1818
.. towncrier release notes start
1919
20+
[1.8.2] - 2020-03-19
21+
^^^^^^^^^^^^^^^^^^^^
22+
23+
Bugfixes
24+
--------
25+
- `#5438 <https://github.com/rasahq/rasa/issues/5438>`_: Fixed bug when installing rasa with ``poetry``.
26+
- `#5413 <https://github.com/RasaHQ/rasa/issues/5413>`_: Fixed bug with ``EmbeddingIntentClassifier``, where results
27+
weren't the same as in 1.7.x. Fixed by setting weight sparsity to 0.
28+
29+
Improved Documentation
30+
----------------------
31+
- `#5404 <https://github.com/rasahq/rasa/issues/5404>`_: Explain how to run commands as ``root`` user in Rasa SDK Docker images since version
32+
``1.8.0``. Since version ``1.8.0`` the Rasa SDK Docker images does not longer run as
33+
``root`` user by default. For commands which require ``root`` user usage, you have to
34+
switch back to the ``root`` user in your Docker image as described in
35+
:ref:`deploying-your-rasa-assistant_custom-dependencies`.
36+
- `#5402 <https://github.com/RasaHQ/rasa/issues/5402>`_: Made improvements to Building Assistants tutorial
37+
38+
2039
[1.8.1] - 2020-03-06
2140
^^^^^^^^^^^^^^^^^^^^
2241

@@ -42,7 +61,7 @@ Deprecations and Removals
4261

4362
Features
4463
--------
45-
- `#2674 <https://github.com/rasahq/rasa/issues/2674>`_: Add default value ``__other__`` to ``values`` of a ``CategoricalSlot``.
64+
- `#2674 <https://github.com/rasahq/rasa/issues/2674>`_: Add default value ``__other__`` to ``values`` of a ``CategoricalSlot``.
4665

4766
All values not mentioned in the list of values of a ``CategoricalSlot``
4867
will be mapped to ``__other__`` for featurization.
@@ -106,7 +125,7 @@ Improvements
106125
- `#4653 <https://github.com/rasahq/rasa/issues/4653>`_: Added a new command-line argument ``--init-dir`` to command ``rasa init`` to specify
107126
the directory in which the project is initialised.
108127
- `#4682 <https://github.com/rasahq/rasa/issues/4682>`_: Added support to send images with the twilio output channel.
109-
- `#4817 <https://github.com/rasahq/rasa/issues/4817>`_: Part of Slack sanitization:
128+
- `#4817 <https://github.com/rasahq/rasa/issues/4817>`_: Part of Slack sanitization:
110129
Multiple garbled URL's in a string coming from slack will be converted into actual strings.
111130
``Example: health check of <http://eemdb.net|eemdb.net> and <http://eemdb1.net|eemdb1.net> to health check of
112131
eemdb.net and eemdb1.net``
@@ -138,7 +157,7 @@ Bugfixes
138157
`TwoStageFallbackPolicy <https://rasa.com/docs/rasa/core/policies/#two-stage-fallback-policy>`_ are used together.
139158
- `#5201 <https://github.com/rasahq/rasa/issues/5201>`_: Fixed incorrectly raised Error encountered in pipelines with a ``ResponseSelector`` and NLG.
140159

141-
When NLU training data is split before NLU pipeline comparison,
160+
When NLU training data is split before NLU pipeline comparison,
142161
NLG responses were not also persisted and therefore training for a pipeline including the ``ResponseSelector`` would fail.
143162

144163
NLG responses are now persisted along with NLU data to a ``/train`` directory in the ``run_x/xx%_exclusion`` folder.

changelog/4826.improvement.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Add full retrieval intent name to message data
2+
``ResponseSelector`` will now add the full retrieval intent name
3+
e.g. ``faq/which_version`` to the prediction, making it accessible
4+
from the tracker.

changelog/5205.bugfix.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Fixed the bug when FormPolicy was overwriting MappingPolicy prediction (e.g. ``/restart``).
2+
Priorities for :ref:`mapping-policy:` and :ref:`form-policy:` are no longer linear:
3+
``FormPolicy`` priority is 5, but its prediction is ignored if ``MappingPolicy`` is used for prediction.

changelog/5215.bugfix.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Fixed issue related to storing Python ``float`` values as ``decimal.Decimal`` objects
2+
in DynamoDB tracker stores. All ``decimal.Decimal`` objects are now converted to
3+
``float`` on tracker retrieval.
4+
5+
Added a new docs section on :ref:`tracker-stores-dynamo`.

changelog/5446.improvement.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
The endpoint ``PUT /conversations/<conversation_id>/tracker/events`` no longer
2+
adds session start events (to learn more about conversation sessions, please
3+
see :ref:`session_config`) in addition to the events which were sent in the request
4+
payload. To achieve the old behavior send a
5+
``GET /conversations/<conversation_id>/tracker``
6+
request before appending events.

data/configs_for_docs/default_config.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
language: "en"
1+
language: "fr" # your two-letter language code
22

33
pipeline:
44
- name: WhitespaceTokenizer
@@ -10,5 +10,7 @@ pipeline:
1010
min_ngram: 1
1111
max_ngram: 4
1212
- name: DIETClassifier
13+
epochs: 100
1314
- name: EntitySynonymMapper
14-
- name: ResponseSelector
15+
- name: ResponseSelector
16+
epochs: 100

data/configs_for_docs/default_english_config.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,7 @@ pipeline:
1111
min_ngram: 1
1212
max_ngram: 4
1313
- name: DIETClassifier
14+
epochs: 100
1415
- name: EntitySynonymMapper
1516
- name: ResponseSelector
17+
epochs: 100

data/configs_for_docs/default_spacy_config.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
language: "en"
1+
language: "fr" # your two-letter language code
22

33
pipeline:
44
- name: SpacyNLP
@@ -12,6 +12,7 @@ pipeline:
1212
min_ngram: 1
1313
max_ngram: 4
1414
- name: DIETClassifier
15+
epochs: 100
1516
- name: EntitySynonymMapper
1617
- name: ResponseSelector
17-
18+
epochs: 100

docs/_static/css/custom.css

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,18 @@ dl.glossary dt {
66
dl.glossary dd {
77
margin-top: 2px;
88
}
9+
10+
.toggle .header {
11+
display: block;
12+
clear: both;
13+
}
14+
15+
.toggle .header:after {
16+
content: "▶ show";
17+
cursor: pointer;
18+
}
19+
20+
.toggle .header.open:after {
21+
content: "▼ hide";
22+
cursor: pointer;
23+
}

0 commit comments

Comments
 (0)