forked from RasaHQ/rasa
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into switch-to-mypy-part1
- Loading branch information
Showing
136 changed files
with
2,934 additions
and
2,583 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: Automatic PR Merger | ||
|
||
on: | ||
push: {} # update PR when base branch is updated | ||
|
||
jobs: | ||
# thats's all. single step is needed - if PR is mergeable according to | ||
# branch protection rules it will be merged automatically | ||
mergepal: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: rasahq/update-pr-branch@601ac3dadf708b14e7f0252d98230538235f99d9 | ||
if: github.repository == 'RasaHQ/rasa' | ||
with: | ||
token: ${{ secrets.RASABOT_AUTOMERGE_GITHUB_TOKEN }} | ||
# required parameter by original action - | ||
# check is already done through protected branches so not needed for us | ||
required_approval_count: 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
- Renamed `templates` to `responses` across Rasa code base and documentation. | ||
- Renamed `response_templates` to `responses` across the Rasa code base. | ||
- Renamed `template_name` and `response_name` to `utter_action` in Rasa Core and rasa/shared. | ||
- Renamed `utter_templates` to `responses` in rasa/shared. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
NLG Server | ||
- Changed request format to send `response` as well as `template` as a field. The `template` field will be removed in Rasa Open Source 3.0.0. | ||
|
||
`rasa.core.agent` | ||
- The terminology `template` is deprecated and replaced by `response`. Support for `template` from the NLG response will be removed in Rasa Open Source 3.0.0. Please see [here](nlg.mdx) for more details. | ||
|
||
`rasa.core.nlg.generator` | ||
- `generate()` now takes in `utter_action` as a parameter. | ||
- The terminology `template` is deprecated and replaced by `response`. Support for `template` in the `NaturalLanguageGenerator` will be removed in Rasa Open Source 3.0.0. | ||
|
||
`rasa.shared.core.domain` | ||
- The property `templates` is deprecated. Use `responses` instead. It will be removed in Rasa Open Source 3.0.0. | ||
- `retrieval_intent_templates` will be removed in Rasa Open Source 3.0.0. Please use `retrieval_intent_responses` instead. | ||
- `is_retrieval_intent_template` will be removed in Rasa Open Source 3.0.0. Please use `is_retrieval_intent_response` instead. | ||
- `check_missing_templates` will be removed in Rasa Open Source 3.0.0. Please use `check_missing_responses` instead. | ||
|
||
Response Selector | ||
- The field `template_name` will be deprecated in Rasa Open Source 3.0.0. Please use `utter_action` instead. Please see [here](components.mdx#selectors) for more details. | ||
- The field `response_templates` will be deprecated in Rasa Open Source 3.0.0. Please use `responses` instead. Please see [here](components.mdx#selectors) for more details. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
Simplify our training by overwriting `train_step` instead of `fit` for our custom models. | ||
|
||
This allows us to use the build-in callbacks from Keras, such as the | ||
[Tensorboard Callback](https://www.tensorflow.org/api_docs/python/tf/keras/callbacks/TensorBoard), | ||
which offers more functionality compared to what we had before. | ||
|
||
:::warning | ||
If you want to use Tensorboard for `DIETClassifier`, `ResponseSelector`, or `TEDPolicy` and log metrics after | ||
every (mini)batch, please use 'batch' instead of 'minibatch' as 'tensorboard_log_level'. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
Allow to have slots with values that result to a dictionary under the key `slot_was_set` (in `stories.yml` file). | ||
|
||
An example would be to have the following story step in `stories.yml`: | ||
```yaml | ||
- slot_was_set: | ||
- some_slot: | ||
some_key: 'some_value' | ||
other_key: 'other_value' | ||
``` | ||
This would be allowed if the `some_slot` is also set accordingly in the `domain.yml` with type `any`. |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.