-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
Rules #6088
Commits on Apr 29, 2020
-
Configuration menu - View commit details
-
Copy full SHA for f5d2122 - Browse repository at this point
Copy the full SHA f5d2122View commit details
Commits on May 1, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 8b9aafe - Browse repository at this point
Copy the full SHA 8b9aafeView commit details
Commits on May 4, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 46f9032 - Browse repository at this point
Copy the full SHA 46f9032View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1edf80b - Browse repository at this point
Copy the full SHA 1edf80bView commit details
Commits on May 6, 2020
-
Configuration menu - View commit details
-
Copy full SHA for d079923 - Browse repository at this point
Copy the full SHA d079923View commit details
Commits on May 7, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 07da429 - Browse repository at this point
Copy the full SHA 07da429View commit details
Commits on May 26, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 210038b - Browse repository at this point
Copy the full SHA 210038bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0200cfd - Browse repository at this point
Copy the full SHA 0200cfdView commit details
Commits on May 27, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 474fc54 - Browse repository at this point
Copy the full SHA 474fc54View commit details
Commits on May 28, 2020
-
implement Forms with RulePolicy
* add sdk form * adapt form from SDK to Rasa * load form action & slot mappings dynamically from domain * add simple test for RulePolicy * remove old 'EmbeddingPolicy * trigger form using default rules * split stories into ML and rules * remove warnings * handle form unhappy paths with RulePolicy * add `...` to default actions * fix error when converting domain forms to dict * update rule symbol to '>>' and fix data generation * update tqdm desc * fixes for forms in domain * make function to remove predictions more general * omit activation events for forms when deactivating immediately * adapt rule examples to implementation * add `is_rule_tracker=True` to tests * match rule pattern in story file * add test for immediate submit * simplify form prediction * remove unused imports * FormAction now asks for slot * unfeaturize `requested_slot` * fix form submit rule * implement review comments * polish - add todos - more tests - more comments * remove unused variable * remove print * Update examples/rules/data/stories.md * fix max_history error * check if featurizer is not None as well * uncomment slack * add missing events to rules example * update test stories to changed logic * fix more tests * comment extracting other slots from arbitrary entity Co-authored-by: ricwo <ric.wkr@gmail.com> Co-authored-by: ricwo <20581300+ricwo@users.noreply.github.com> Co-authored-by: Vova Vv <mr.voov@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for f8a7a34 - Browse repository at this point
Copy the full SHA f8a7a34View commit details
Commits on May 29, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 79601f1 - Browse repository at this point
Copy the full SHA 79601f1View commit details -
Configuration menu - View commit details
-
Copy full SHA for e274da8 - Browse repository at this point
Copy the full SHA e274da8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 83e3c91 - Browse repository at this point
Copy the full SHA 83e3c91View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1ac061d - Browse repository at this point
Copy the full SHA 1ac061dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5c5d859 - Browse repository at this point
Copy the full SHA 5c5d859View commit details -
Configuration menu - View commit details
-
Copy full SHA for da148ae - Browse repository at this point
Copy the full SHA da148aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for aa51fb2 - Browse repository at this point
Copy the full SHA aa51fb2View commit details -
* add NLU component to set fallback intent * add example rule for simple fallback * fix form test case
Configuration menu - View commit details
-
Copy full SHA for 33c282b - Browse repository at this point
Copy the full SHA 33c282bView commit details
Commits on Jun 12, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 9247f0d - Browse repository at this point
Copy the full SHA 9247f0dView commit details
Commits on Jun 13, 2020
-
RulePolicy: Abstract loop interface + TwoStageFallbackPolicy (#5933)
* implement abstract loop interface * adapt `FormAction` to new `loop` interface * add `TwoStageFallbackAction` * add todo for renaming `active_form` * make NLU fallback intent a hardcoded intent name It has to be hardcoded since the TwoStageFallbackPolicy relies on it's name, similar to the out of scope intent name * rename to `loops` (plural)
Configuration menu - View commit details
-
Copy full SHA for 440ede7 - Browse repository at this point
Copy the full SHA 440ede7View commit details
Commits on Jun 16, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 9301a57 - Browse repository at this point
Copy the full SHA 9301a57View commit details
Commits on Jun 23, 2020
-
New Form featurization (#6029)
* implement form unfeaturization * rename `active_form` to `active_loop` * adapt tests for rule policy * use existing `REQUESTED_SLOT` constant * use full EventVerbosity in TwoStageFallbackAction * nuke FormPolicy test The `FormPolicy` will be removed in favor of the `RulePolicy` so no need to fix / adapt the tests here. * fix ` Duplicate actions in domain` in `rasa interactive`
Configuration menu - View commit details
-
Copy full SHA for ff213fc - Browse repository at this point
Copy the full SHA ff213fcView commit details
Commits on Jun 24, 2020
-
Configuration menu - View commit details
-
Copy full SHA for afad45f - Browse repository at this point
Copy the full SHA afad45fView commit details -
Merge pull request #6030 from RasaHQ/rules-scope-dispatched-per-form
RulePolicy: scope dispatches per form
Configuration menu - View commit details
-
Copy full SHA for bed6aeb - Browse repository at this point
Copy the full SHA bed6aebView commit details
Commits on Jun 25, 2020
-
remove form unfeaturization, fix rules prediction (#6068)
* remove form unfeaturization, fix rules * rename variable * add validation false event * remove unneeded method * Update examples/formbot/data/stories.md Co-authored-by: Tobias Wochinger <t.wochinger@rasa.com> * add comments and clean rule policy * Update rasa/core/policies/rule_policy.py Co-authored-by: Tobias Wochinger <t.wochinger@rasa.com> * Update rasa/core/policies/rule_policy.py Co-authored-by: Tobias Wochinger <t.wochinger@rasa.com> * Update rasa/core/policies/rule_policy.py Co-authored-by: Tobias Wochinger <t.wochinger@rasa.com> * Update rasa/core/policies/rule_policy.py Co-authored-by: Tobias Wochinger <t.wochinger@rasa.com> * black * Update rasa/core/policies/rule_policy.py Co-authored-by: Tobias Wochinger <t.wochinger@rasa.com> * Update rasa/core/policies/rule_policy.py Co-authored-by: Tobias Wochinger <t.wochinger@rasa.com> * fix code quality Co-authored-by: Tobias Wochinger <t.wochinger@rasa.com>
Configuration menu - View commit details
-
Copy full SHA for 2c65b10 - Browse repository at this point
Copy the full SHA 2c65b10View commit details
Commits on Jun 29, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 5f0f30f - Browse repository at this point
Copy the full SHA 5f0f30fView commit details
Commits on Jul 2, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 650d49c - Browse repository at this point
Copy the full SHA 650d49cView commit details
Commits on Jul 3, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 351517e - Browse repository at this point
Copy the full SHA 351517eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 607e1e4 - Browse repository at this point
Copy the full SHA 607e1e4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 51c5ff2 - Browse repository at this point
Copy the full SHA 51c5ff2View commit details -
Configuration menu - View commit details
-
Copy full SHA for d1f56cd - Browse repository at this point
Copy the full SHA d1f56cdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 08db056 - Browse repository at this point
Copy the full SHA 08db056View commit details -
Configuration menu - View commit details
-
Copy full SHA for 97e18b9 - Browse repository at this point
Copy the full SHA 97e18b9View commit details
Commits on Jul 5, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 1850fd5 - Browse repository at this point
Copy the full SHA 1850fd5View commit details
Commits on Jul 7, 2020
-
Apply suggestions from code review
Co-authored-by: Tobias Wochinger <t.wochinger@rasa.com>
Configuration menu - View commit details
-
Copy full SHA for 01e855c - Browse repository at this point
Copy the full SHA 01e855cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8caddd9 - Browse repository at this point
Copy the full SHA 8caddd9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6143a05 - Browse repository at this point
Copy the full SHA 6143a05View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0e74e6a - Browse repository at this point
Copy the full SHA 0e74e6aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3e7f2c2 - Browse repository at this point
Copy the full SHA 3e7f2c2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 97fa683 - Browse repository at this point
Copy the full SHA 97fa683View commit details -
Configuration menu - View commit details
-
Copy full SHA for dc0c258 - Browse repository at this point
Copy the full SHA dc0c258View commit details -
Configuration menu - View commit details
-
Copy full SHA for c4f95e8 - Browse repository at this point
Copy the full SHA c4f95e8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7db99a6 - Browse repository at this point
Copy the full SHA 7db99a6View commit details -
Merge pull request #6136 from RasaHQ/rules-yaml
YAML rule and form support
Configuration menu - View commit details
-
Copy full SHA for 0148e28 - Browse repository at this point
Copy the full SHA 0148e28View commit details
Commits on Jul 8, 2020
-
fix breaking tests in rules branch (#6097)
* adapt test to new form featurization * skip 'action_session_start' when serializing story * fix form rejection emulation for RulePolicy * both RulePolicy and FormPolicy fulfill the requirement for forms in the domain * add more types * fix default max history for RulePolicy * introduce default actions which can overrule rules * fix form evaluation tests * add typing for 'active_loop' * make type explicit for pytype * re-add FormPolicy tests * adapt to new default actions * fix form featurization logic The `TestFormPolicy` test which uses the test stories `data/test_stories/stories_form.md` failed previously. The issue was that `applied_events` didn't recognize unhappy paths correctly. Now we assume we are in an unhappy path in case different actions run a user utterance without a form action in between. * move validation for form policy to `Ensemble` * don't undo emulation of form rejection * invert if logic * add check to avoid RulePolicy usage with other rule-like policies * add missing FormPolicy import * fix StoryReader import * remove unused functions * some more form action tests
Configuration menu - View commit details
-
Copy full SHA for 6f6770a - Browse repository at this point
Copy the full SHA 6f6770aView commit details
Commits on Jul 9, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 618bbac - Browse repository at this point
Copy the full SHA 618bbacView commit details -
preserve key order when dumping YAML (#6168)
* preserve key order when dumping YAML * remove debug lines * improve import * fix converter * switch on flag in domain.py * no special handling for sets * accept not just dicts * add test for non-dict types
Configuration menu - View commit details
-
Copy full SHA for 6d60ca5 - Browse repository at this point
Copy the full SHA 6d60ca5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 151d213 - Browse repository at this point
Copy the full SHA 151d213View commit details -
Configuration menu - View commit details
-
Copy full SHA for 78cf134 - Browse repository at this point
Copy the full SHA 78cf134View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2f6cb17 - Browse repository at this point
Copy the full SHA 2f6cb17View commit details -
have one validate function for the whole form (#6171)
* have one validate function for the whole form * remove unused function * more tests * remove unnecessary ignores * add clarification comment * validate user input in activation (#6172) * validate user input in activation Co-authored-by: Tobias Wochinger <t.wochinger@rasa.com> * more tests for entity extraction * more `FormAction` tests * add todo Co-authored-by: Vladimir Vlasov <vladimir@rasa.com>
Configuration menu - View commit details
-
Copy full SHA for b64cece - Browse repository at this point
Copy the full SHA b64ceceView commit details -
Configuration menu - View commit details
-
Copy full SHA for d60c5b2 - Browse repository at this point
Copy the full SHA d60c5b2View commit details -
Configuration menu - View commit details
-
Copy full SHA for c4936b0 - Browse repository at this point
Copy the full SHA c4936b0View commit details -
return only to make code more readable
Co-authored-by: Tanja <tabergma@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 2c993b7 - Browse repository at this point
Copy the full SHA 2c993b7View commit details -
Configuration menu - View commit details
-
Copy full SHA for a942cf6 - Browse repository at this point
Copy the full SHA a942cf6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0f827fa - Browse repository at this point
Copy the full SHA 0f827faView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9065291 - Browse repository at this point
Copy the full SHA 9065291View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3a7d6f6 - Browse repository at this point
Copy the full SHA 3a7d6f6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4927007 - Browse repository at this point
Copy the full SHA 4927007View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3edbfee - Browse repository at this point
Copy the full SHA 3edbfeeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4a08f34 - Browse repository at this point
Copy the full SHA 4a08f34View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6fb55a5 - Browse repository at this point
Copy the full SHA 6fb55a5View commit details -
Configuration menu - View commit details
-
Copy full SHA for df9b595 - Browse repository at this point
Copy the full SHA df9b595View commit details
Commits on Jul 10, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 988e2ea - Browse repository at this point
Copy the full SHA 988e2eaView commit details -
* deprecate old rule-like policies * only run `FormAction` if users defined a slot mapping for the form in the domain * remove Todo as TwoStageFallbackPolicy is deprecated anyway * make it a module function as it has no self reference * translate rule examples to yaml * fix slot warning * add explanation comment to `FallbackClassifier` * add changelog * Don't try to generate stories if no StorySteps given * disable warnings about default intents when RulePolicy is available * fix test for invalid yaml
Configuration menu - View commit details
-
Copy full SHA for 64ca4a0 - Browse repository at this point
Copy the full SHA 64ca4a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1de450d - Browse repository at this point
Copy the full SHA 1de450dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5ad7aae - Browse repository at this point
Copy the full SHA 5ad7aaeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3cb9b5f - Browse repository at this point
Copy the full SHA 3cb9b5fView commit details