Skip to content
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

New Form featurization #6029

Merged
merged 7 commits into from
Jun 23, 2020
Merged

New Form featurization #6029

merged 7 commits into from
Jun 23, 2020

Conversation

wochinge
Copy link
Contributor

Proposed changes:

Status (please check what you already did):

  • added some tests for the functionality
  • updated the documentation
  • updated the changelog (please check changelog for instructions)
  • reformat files using black (please check Readme for instructions)

@@ -398,7 +401,9 @@ def generate_all_prior_trackers(
def applied_events(self) -> List[Event]:
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Ghostvv Could you have a short look please? I also added some tests to test_trackers where you can see how the applied_events() vs the raw tracker

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

left comments

rasa/core/policies/rule_policy.py Outdated Show resolved Hide resolved
rasa/core/trackers.py Outdated Show resolved Hide resolved
rasa/core/trackers.py Outdated Show resolved Hide resolved
rasa/core/trackers.py Outdated Show resolved Hide resolved
rasa/core/trackers.py Outdated Show resolved Hide resolved
rasa/core/trackers.py Show resolved Hide resolved
Copy link
Contributor

@Ghostvv Ghostvv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems to be correct, I'll test it locally to be sure

rasa/core/policies/rule_policy.py Outdated Show resolved Hide resolved
rasa/core/policies/rule_policy.py Outdated Show resolved Hide resolved
rasa/core/trackers.py Outdated Show resolved Hide resolved
@wochinge wochinge marked this pull request as ready for review June 23, 2020 13:06
@wochinge wochinge requested a review from Ghostvv June 23, 2020 13:06
rasa/core/trackers.py Outdated Show resolved Hide resolved
@wochinge wochinge force-pushed the form-featurization branch 2 times, most recently from 73df3b1 to aa2ac65 Compare June 23, 2020 14:05
The `FormPolicy` will be removed in favor of the `RulePolicy` so no need to fix / adapt the tests here.
@wochinge wochinge merged commit ff213fc into rules Jun 23, 2020
@wochinge wochinge deleted the form-featurization branch June 23, 2020 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants