-
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
Metada on session start action #5611
Metada on session start action #5611
Conversation
able to receive the metadata from the message sent, RASA when initiating a new session it sends a blank tracker with no information whatsoever, ignoring the metadata into the message. Adjusted to add the event sessionStart to tracker events and with it the metadata from the message.
Method: get_tracker_with_session_start Parameter: metadata
Done! |
passed black formatter pytype doesn't work on Win10.
Thanks for submitting a pull request 🚀 @degiz will take a look at it as soon as possible ✨ |
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.
Thanks a lot for the PR 🚀
Left several comments. Looking forward to have this code merged! 👍
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.
I didn't get what you meant by more "high level".
The most high level (in terms of structure) code we've modified in this PR is get_tracker_with_session_start()
. So I'd expect the unit tests that covers this change to call this method with metadata
and assert on the results.
modified get_tracker_with_session_start(). So the unit tests that covers this change to call this method with metadata and assert on the results.
I hope that I had understand what you meant, I added a test into test_processor.py to this specific method and assertion of the metadata content. |
wasn't me but, I fixed anyway.
wasn't me but, I fixed anyway.
it's a false positive.
The deep source is failing with a false positive. |
Faling Not My Fault :)
Motive
|
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.
Awesome test, thanks!
Last comment, and we can merge it.
Co-Authored-By: Alexander Khizov <[email protected]>
Co-Authored-By: Alexander Khizov <[email protected]>
|
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.
Great job! 👍
I'm approving the PR, let's make sure the unit tests are passing in the CI.
Thanks, you made my first contribution to an open-source project so smooth, I really appreciate! So is that it? do I have to do something more? |
@lluchini welcome to the club 🚀 Now we're basically trying to merge the PR before the master goes ahead 😄 |
Proposed changes:
Closes #5574
Adjusted to add the event sessionStart to tracker events and with it the metadata from the message.
Status (please check what you already did):
black
(please check Readme for instructions)