Skip to content

Commit

Permalink
Merge 2.8.2 to main (#9285)
Browse files Browse the repository at this point in the history
* Add ability to point to a certificate in endpoints.yml (#9118)

* Add cert file functionality to Endpoint

* Apply suggestions from code review

types

Co-authored-by: Tobias Wochinger <t.wochinger@rasa.com>

* update changelog

Co-authored-by: Tobias Wochinger <t.wochinger@rasa.com>

* Fix epoch override for TEDPolicy (#9182)

* bump rasa-sdk dep and min compat version

* fix bug add tests

* add changelog

* change test cases

* remove test cases

* prepared release of version 2.8.1 (#9183)

* update rasa-sdk

* prepared release of version 2.8.1

* update lock

* Make UnexpecTEDIntentPolicy compatible with E2E data (#9203)

* bump rasa-sdk dep and min compat version

* add test and code

* add changelog and refactor method

* add test

* more test cases

* use applied_events

* 2.8.x: Remove experimental feature warning for story validation and entity roles and groups (#9237)

* I removed the experimental feature designation from the docs.

* I removed the entity roles and groups experimental feature warning message from the code, and tested it using 'rasa train' on a minimal example.

* I removed the unused import: rasa.shared.utils.common

* Adding change log files for issues 8791 and 8024.

* Rewording change logs to make it clear that the behaviour of the features remains unchanged.

* prepared release of version 2.8.2 (#9262)

* prepared release of version 2.8.2

* Updated the date of release.

* install yarn dependency in cloned repository, in docs publication workflow

* silence yarn warning

* Fix typo in push_docs_to_branch.sh

* Generated a new poetry lock file

Co-authored-by: Joe Juzl <joejuzl@gmail.com>
Co-authored-by: Tobias Wochinger <t.wochinger@rasa.com>
Co-authored-by: Daksh Varshneya <d.varshneya@rasa.com>
Co-authored-by: m-vdb <m.verger@rasa.com>
  • Loading branch information
5 people committed Aug 6, 2021
1 parent 0be610f commit 970cef7
Show file tree
Hide file tree
Showing 16 changed files with 711 additions and 201 deletions.
33 changes: 33 additions & 0 deletions CHANGELOG.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,39 @@ https://github.com/RasaHQ/rasa/tree/main/changelog/ . -->

<!-- TOWNCRIER -->

## [2.8.2] - 2021-08-04
### Bugfixes
- [#9203](https://github.com/rasahq/rasa/issues/9203): Fixes a bug which caused training of `UnexpecTEDIntentPolicy` to crash when end-to-end training stories were included in the training data.

Stories with end-to-end training data will now be skipped for the training of `UnexpecTEDIntentPolicy`.

### Improved Documentation
- [#8024](https://github.com/rasahq/rasa/issues/8024): Removing the experimental feature warning for the `story validation` tool from the rasa docs.
The behaviour of the feature remains unchanged.
- [#8791](https://github.com/rasahq/rasa/issues/8791): Removing the experimental feature warning for `entity roles and groups` from the rasa docs,
and from the code where it previously appeared as a print statement.
The behaviour of the feature remains otherwise unchanged.


## [2.8.1] - 2021-07-22
### Improvements
- [#9085](https://github.com/rasahq/rasa/issues/9085): Add support for `cafile` parameter in `endpoints.yaml`.
This will load a custom local certificate file and use it when making requests to that endpoint.

For example:

```yaml
action_endpoint:
url: https://localhost:5055/webhook
cafile: ./cert.pem
```

This means that requests to the action server `localhost:5055` will use the certificate `cert.pem` located in the current working directory.

### Bugfixes
- [#9182](https://github.com/rasahq/rasa/issues/9182): Fixes wrong overriding of `epochs` parameter when `TEDPolicy` or `UnexpecTEDIntentPolicy` is not loaded in finetune mode.


## [2.8.0] - 2021-07-12
### Deprecations and Removals
- [#9045](https://github.com/rasahq/rasa/issues/9045): The option `model_confidence=linear_norm` is deprecated and will be removed in Rasa Open Source `3.0.0`.
Expand Down
32 changes: 32 additions & 0 deletions data/test_endpoints/cert.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
-----BEGIN CERTIFICATE-----
MIIFiDCCA3ACCQCgeYtdshQ3bjANBgkqhkiG9w0BAQsFADCBhTELMAkGA1UEBhMC
ZGUxDzANBgNVBAgMBmJlcmxpbjEPMA0GA1UEBwwGYmVybGluMQ0wCwYDVQQKDARy
YXNhMQ0wCwYDVQQLDARyYXNhMRYwFAYDVQQDDA1teWFjdGlvbnMuZGV2MR4wHAYJ
KoZIhvcNAQkBFg9qLmp1emxAcmFzYS5jb20wHhcNMjEwNzEzMTAwNTI5WhcNMjIw
NzEzMTAwNTI5WjCBhTELMAkGA1UEBhMCZGUxDzANBgNVBA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AhdoYE/t5uKT5Ns5vp9g5AsIIlMNPZqQAYdhX7/6zI755xuHp
2Dp232zKpmh+6bYLYeuI6bLDQ2HLSBhxmwEf4YZCi3R1LwxjnomXT9yTyd2PDN/B
WrV7G6zrPRcYq/QeLVKHDCNbUtZrwko5dR2Siz4ds8vLN1pX4v5y88WkIniZox+Q
9GyYvQ/m11rB+0kp9LKfCswW/F2AIznLgnQxfgXgrw/DUiUkQ0hQ/S5trwSQPHpO
Uf4g4yXh1MZg38kadSslqmkwMg0lI4MYdyCNjsVbH+ESqc5FkfFfR6TOS1wuevIQ
OFbF6BfkA/b4Faq9Uf+pxA1+9bt6EI5No2SnZ0InGvmbqnPkU78SCa7qTmq2UHZ1
fvLejsbOTHZpu72lj/mXVZAgrnXzcuj+M0uc+k/vAWp1sx7fAapsMlO+8Unn6QGq
/BE3rSj1OnYfb6c7w+yF/8mRx2t0OWyJinkNrOAScFdDWalnprc9woattsRunhvF
xdPTIWctCZpcmgDvh7XJMP47CGvOHCSFtgsEIg==
-----END CERTIFICATE-----
3 changes: 3 additions & 0 deletions data/test_endpoints/example_endpoints.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,7 @@ tracker_store:
#db: rasa
#user: username
#password: password
action_endpoint:
url: http://localhost:5055/webhook
cafile: ./some_test_file
empty:
7 changes: 0 additions & 7 deletions docs/docs/command-line-interface.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -408,13 +408,6 @@ To interrupt validation even for minor issues such as unused intents or response
The `rasa data validate stories` command assumes that all your story names are unique!
:::

:::caution experimental feature
The `rasa data validate stories` command is an experimental feature. We introduce experimental
features to get feedback from our community, so we encourage you to try it out! However, the functionality
might be changed or removed in the future. If you have feedback (positive or negative) please share
it with us on the [Rasa Forum](https://forum.rasa.com/).
:::

You can use `rasa data validate` with additional arguments, e.g. to specify the location of your data and
domain files:

Expand Down
8 changes: 0 additions & 8 deletions docs/docs/nlu-training-data.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -168,14 +168,6 @@ When using lookup tables with `RegexFeaturizer`, provide enough examples for the

## Entities Roles and Groups

:::caution
This feature is experimental.
We introduce experimental features to get feedback from our community, so we encourage you to try it out!
However, the functionality might be changed or removed in the future.
If you have feedback (positive or negative) please share it with us on the [Rasa Forum](https://forum.rasa.com).

:::

Annotating words as custom entities allows you to define certain concepts in your training data.
For example, you can identify cities by annotating them:

Expand Down
Loading

0 comments on commit 970cef7

Please sign in to comment.