Skip to content

Commit

Permalink
Merge branch 'main' into 8569-drop-py36-support
Browse files Browse the repository at this point in the history
  • Loading branch information
twerkmeister authored Jul 28, 2021
2 parents ff9ee1e + 071d2ef commit 11f163a
Show file tree
Hide file tree
Showing 71 changed files with 681 additions and 2,552 deletions.
6 changes: 6 additions & 0 deletions .github/PULL_REQUEST_AUTOMATIC_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
:auto_rickshaw: This PR should be merged automatically once it has been approved. If it doesn't happen:
- [ ] Handle merge conflicts
- [ ] Fix build errors


:bulb: It has been opened automatically after changes were merged in a feature branch.
2 changes: 1 addition & 1 deletion .github/workflows/ci-docs-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
python-version: ${{ env.DEFAULT_PYTHON_VERSION }}

- name: Set up Node 12.x 🦙
uses: actions/setup-node@v2.2.0
uses: actions/setup-node@v2.3.0
with:
node-version: '12.x'

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci-model-regression-on-schedule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ jobs:
- name: Notify Slack of Failure 😱
if: failure() && steps.issue-exists.outputs.result == 'false'
uses: 8398a7/action-slack@f3635935f58910a6d6951b73efe9037c960c8c04 # v3
uses: 8398a7/action-slack@e74cd4e48f4452e8158dc4f8bcfc780ae6203364 # v3
with:
status: custom
fields: workflow,job,commit,repo,ref,author,took
Expand Down Expand Up @@ -505,7 +505,7 @@ jobs:
- name: Notify Slack when Performance Drops 💬
if: steps.performance.outputs.is_dropped == 'true' && steps.issue-exists.outputs.result == 'false'
uses: 8398a7/action-slack@f3635935f58910a6d6951b73efe9037c960c8c04 #v3
uses: 8398a7/action-slack@e74cd4e48f4452e8158dc4f8bcfc780ae6203364 #v3
with:
status: custom
fields: workflow,job,commit,repo,ref,author,took
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
python-version: 3.7

- name: Set up Node 12.x 🦙
uses: actions/setup-node@v2.2.0
uses: actions/setup-node@v2.3.0
with:
node-version: '12.x'

Expand Down
10 changes: 5 additions & 5 deletions CHANGELOG.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -1321,7 +1321,7 @@ https://github.com/RasaHQ/rasa/tree/main/changelog/ . -->


### Bugfixes
- [#7089](https://github.com/rasahq/rasa/issues/7089): Fix [ConveRTTokenizer](components.mdx#converttokenizer) failing because of wrong model URL by making the `model_url` parameter of `ConveRTTokenizer` mandatory.
- [#7089](https://github.com/rasahq/rasa/issues/7089): Fix `ConveRTTokenizer` failing because of wrong model URL by making the `model_url` parameter of `ConveRTTokenizer` mandatory.

Since the ConveRT model was taken [offline](https://github.com/RasaHQ/rasa/issues/6806), we can no longer use
the earlier public URL of the model. Additionally, since the licence for the model is unknown,
Expand Down Expand Up @@ -2362,7 +2362,7 @@ https://github.com/RasaHQ/rasa/tree/main/changelog/ . -->

* [#5006](https://github.com/rasahq/rasa/issues/5006): Channel `hangouts` for Rasa integration with Google Hangouts Chat is now supported out-of-the-box.

* [#5389](https://github.com/rasahq/rasa/issues/5389): Add an optional path to a specific directory to download and cache the pre-trained model weights for [HFTransformersNLP](./components.mdx#hftransformersnlp).
* [#5389](https://github.com/rasahq/rasa/issues/5389): Add an optional path to a specific directory to download and cache the pre-trained model weights for `HFTransformersNLP`.

* [#5422](https://github.com/rasahq/rasa/issues/5422): Add options `tensorboard_log_directory` and `tensorboard_log_level` to `EmbeddingIntentClassifier`,
`DIETClasifier`, `ResponseSelector`, `EmbeddingPolicy` and `TEDPolicy`.
Expand Down Expand Up @@ -2529,10 +2529,10 @@ https://github.com/RasaHQ/rasa/tree/main/changelog/ . -->

* [#5187](https://github.com/rasahq/rasa/issues/5187): Integrate language models from HuggingFace's [Transformers](https://github.com/huggingface/transformers) Library.

Add a new NLP component [HFTransformersNLP](./components.mdx#hftransformersnlp) which tokenizes and featurizes incoming messages using a specified
Add a new NLP component `HFTransformersNLP` which tokenizes and featurizes incoming messages using a specified
pre-trained model with the Transformers library as the backend.
Add [LanguageModelTokenizer](./components.mdx#languagemodeltokenizer) and [LanguageModelFeaturizer](./components.mdx#languagemodelfeaturizer) which use the information from
[HFTransformersNLP](./components.mdx#hftransformersnlp) and sets them correctly for message object.
Add `LanguageModelTokenizer` and [LanguageModelFeaturizer](./components.mdx#languagemodelfeaturizer) which use the information from
`HFTransformersNLP` and sets them correctly for message object.
Language models currently supported: BERT, OpenAIGPT, GPT-2, XLNet, DistilBert, RoBERTa.

* [#5225](https://github.com/rasahq/rasa/issues/5225): Added a new CLI command `rasa export` to publish tracker events from a persistent
Expand Down
3 changes: 3 additions & 0 deletions changelog/6487.removal.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Remove backwards compatibility code with Rasa Open Source 1.x, Rasa Enterprise 0.35, and other outdated
backwards compatibility code in `rasa.cli.x`, `rasa.core.utils`, `rasa.model_testing`, `rasa.model_training`
and `rasa.shared.core.events`.
3 changes: 3 additions & 0 deletions changelog/8879.removal.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Removed the deprecated dialogue policy state featurizers: `BinarySingleStateFeature` and `LabelTokenizerSingleStateFeaturizer`.

Removed the deprecated method `encode_all_actions` of `SingleStateFeaturizer`. Use `encode_all_labels` instead.
1 change: 1 addition & 0 deletions changelog/8881.removal.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Follow through on deprecation warnings and remove code, tests, and docs for `ConveRTTokenizer`, `LanguageModelTokenizer` and `HFTransformersNLP`.
1 change: 1 addition & 0 deletions changelog/8929.improvement.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Added optional flag to convert intent ID hashes from integer to string in the `KafkaEventBroker`.
2 changes: 2 additions & 0 deletions changelog/9135.misc.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Remove `MessageProcessor` logic when determining whether to predict another action in `rasa.core.test` module.
Adapt `MessageProcessor.predict_next_action()` method to raise `ActionLimitReached` exception instead.
79 changes: 0 additions & 79 deletions data/test_dialogues/default.json

This file was deleted.

214 changes: 0 additions & 214 deletions data/test_dialogues/formbot.json

This file was deleted.

Loading

0 comments on commit 11f163a

Please sign in to comment.