Closed guruprasads7 closed 6 years ago
ChatBot is now able to handle Bye Response
@Juzerhk , Where is the code fixing this issue. I have not seen a pull request.
@Juzerhk , Please note , the issue can only be closed, when the code is reviewed and mergred into the master branch. And the issue ideally should be closed by the one who created the issue, not the one who was assigned the issue ( You in this case)
This issue can easliy be fixed by making a small change in rivescript. So I made made changes in the rivescript rather then changing the code and that is what I have pushed it and now it is working fine.Regarding closing of the ticket, I will keep that in mind.On 6 May 2018 16:42, GuruPrasad notifications@github.com wrote:@Juzerhk , Where is the code fixing this issue. I have not seen a pull request. @Juzerhk , Please note , the issue can only be closed, when the code is reviewed and mergred into the master branch. And the issue ideally should be closed by the one who created the issue, not the one who was assigned the issue ( You in this case)
—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or mute the thread.
@Juzerhk If the code fix is in place. Please raise a pull request, so we can review the changes.
As mentioned, before once the fix is merged to the master branch. We will close this issue.
@guru5590 Sorry to interrupt.
@Juzerhk Your fix is not scalable. Can you please look at a more permanent fix? Clearly the JSON parser says its a valid JSON input if your input is a single word, which is the cause for this issue because its not JSON. Changing the rive script to reply two words is fine for this use case as it takes care of this very particular scenario. But what about other inputs with one word reply from rivescript? Again similar issue should happen?
@Juzerhk, the code changes you have made, just fixes the current issue. But it doesn't cover all scenarios as your masking a library issue with your code. I'll be closing this one, but in future a bug can be caused coz of this.
Chatbot returns an exception, when handling "bye" as an input.
Attached is the screenshot of the exception:
Also, the log from the backend:
P.S: Thanks Juzer for help identifying the issue.