-
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
ATO-218 Always set slot values #11333
Conversation
ab526b3
to
f6e87a7
Compare
f6e87a7
to
f377154
Compare
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.
This test looks good, but some other slot tests are failing can you modify those as well?
f377154
to
8491f55
Compare
8491f55
to
d2948f0
Compare
done @sanchariGr , see current changes - CI should hopefully run green now. |
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.
Looks good 😎
Left a few suggestions, let's wait for the added AugMemo test cases examples.
eb6805d
to
262a312
Compare
This fixes a bug where slot values vanish when using the augmented memoization policy. If in the past, the slot is set to a specific value, and then later the slot being set to the same value, no new SlotSet event is emitted. However, this leads to the augmented memoiziation policy wrongly assuming this slot to be unset, as the older, original SlotSet event was pruned already.
a584cc4
to
88fe676
Compare
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.
Amazing ⚡
Final thing, you might want to place this file into .gitignore
? It's showing up in the committed files:
data/test_action_extract_slots_11333/models/.gitkeep
@ancalita The purpose of the |
@ancalita reducing the epochs to 10 is actually breaking the test 😬 So I won't do that after all. |
No worries, yeah there's a sweet spot with these epochs, if you go below a level it just breaks. |
88fe676
to
0e74c32
Compare
0e74c32
to
66343c9
Compare
🚀 A preview of the docs have been deployed at the following URL: https://11333--rasahq-docs-rasa-v2.netlify.app/docs/rasa |
ATO-218 Always set slot values
This fixes a bug where slot values vanish when using the augmented
memoization policy. If in the past, the slot is set to a specific value,
and then later the slot being set to the same value, no new SlotSet
event is emitted. However, this leads to the augmented memoiziation
policy wrongly assuming this slot to be unset, as the older, original
SlotSet event was pruned already.
Status (please check what you already did):
black
(please check Readme for instructions)