-
Notifications
You must be signed in to change notification settings - Fork 2
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
Rasa role group #2
Conversation
@tomgun132 thanks for working on this. regarding the implementation @Sebastianwho found a small issue, where the quotation marks are missing and subsequently the generated rasa training file is corrupt/invalid. coming back to this issue from the main repo: SimGus#48 (comment) is there a way we can incorporate your changes into the main chatette? @SimGus: I created a fork with the fix, but am unsure how to provide tests for that, as I am unfamiliar where to best add these tests. Can you give some guidance? the fixing commit is here: rlinke@5ff8234 this is the issue:
expected output:
actual output:
(notice the missing qutotation mark after "testentity") |
Hello @rlinke, Thank you very much for commenting on my update. I haven't been able to continue to work on this due to my real work. However, I'm planning to finish this as soon as I can. When I pull request this fork to the main repository, these changes should be implemented into the main chatette after @SimGus do a deep review on my code. Also thanks for pointing out the mistake I made on the code. I'm not sure on whether you should do a PR to my forked repository or I should do the fix myself. Cheers |
Hi @rlinke, To answer your question about testing this, here is some guidance. If you don't feel confident enough don't worry, I'll create more thorough unit tests at some point, but otherwise here is what I would do in a nutshell:
You can find an example of such a strategy of testing about method Regardless of whether or not you decide to implement such a test, you can make a pull request with your changes to @tomgun132's branch. They will then be included in the main chatette once I merge his branch I hope this helps :) |
Hi @rlinke hope you don't mind I added the fix myself and thank you once again for pointing out the error I made. I think I've mostly finished my part on adding Slot Role/Group and Rasa Yaml adapter format. I managed to train the generated training data with Rasa v2.2.2, though I think the recent version of Rasa doesn't change that much in term of training data format. Also, sorry for the late finishing @SimGus, I've added a simple unit testing for the new Also, I hope you don't mind that I add Next I should probably merge this to the master branch of the forked repository then create a new PR to @SimGus main repository. However, if @rlinke decides to add the unit testing, I'll hold merging the until he finish the implementation. What do you think? |
Hello @tomgun132, It's really not a problem it took time, thanks again for working on this! The tests you added/changed seem fine to me. For the error you get when running the tests on Windows, it's really not a problem as long as it passes on a Linux machine :) About the encoding, I honestly don't remember why I decided not to specify it, even though it makes much more sense to always consider the input files as unicode encoded, so I agree with this change If @rlinke comes back to you saying that he wants to add some unit tests, I'm all for it. Otherwise, you can open a PR to the |
@SimGus @tomgun132 @SimGus : Thanks for working on this project. |
@SimGus alright. I'll open PR to your dev branch soon. Thanks |
No description provided.