-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove deprecated code blocks #5758
Conversation
bd26ea9
to
0a725f0
Compare
bca842b
to
0e71a97
Compare
0e71a97
to
43e162a
Compare
…nto removed-deprecated-classes
f8f2c9c
to
1f8b9f3
Compare
Removed previously deprecated classes: | ||
- event brokers (``EventChannel`` and ``FileProducer``, ``KafkaProducer``, ``PikaProducer``, ``SQLProducer``) | ||
- intent classifier ``EmbeddingIntentClassifier`` | ||
- policy ``KerasPolicy`` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should some information about that also be added to the Migration Guide? It currently has some information about KerasPolicy
and EmbeddingIntentClassifier
deprecation, but nothing about the fact that these classes are removed in the new version.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes that is a good point - will add something 👍
Co-authored-by: Alexander Pantiukhov <[email protected]>
Co-authored-by: Alexander Pantiukhov <[email protected]>
ready for another review 💯 |
* removed deprecated brokers2 * removed deprecated code and fixed regex featurizer * working on fixing tests * working on fixing tests * fixed test * fixed documentation build * working on fixing the tests * removed restaurantbot example * improved testing speed by using caching and avoiding duplicated model loads * reverted some unneeded changes * trying to fix tests * fix moodbot model race condition in tests * removed randomly failing test * removed remaining instaces of EmbeddingPolicy * Update changelog/5834.removal.rst Co-authored-by: Alexander Pantiukhov <[email protected]> * Update rasa/utils/common.py Co-authored-by: Alexander Pantiukhov <[email protected]> * Update docs/core/policies.rst * Update tests/cli/test_cli.py * added information to migration guide Co-authored-by: Alexander Pantiukhov <[email protected]>
Proposed changes:
doctoc
only runs on the readmeEventChannel
andFileProducer
,KafkaProducer
,PikaProducer
,SQLProducer
)EmbeddingIntentClassifier
useDIETClassifier
everywhereKerasPolicy
useTEDPolicy
everywhereAgent.handle_channels
TrackerStore.create_tracker_store
ConvertFeaturizer
to avoid loading pretrained tensorflow models multiple times (will now use the model loaded byConvertTokenizer
)entity_examples
andintent_examples
section in training dataHFTransformer
andConvertTokenizer
to speed up testing@mock_s3
annotation as it would not run the test (somehow the async would not get picked up)closes #5178
Status (please check what you already did):
black
(please check Readme for instructions)