You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have created a new app in wit.ai. In stories, after the 'User says', I have added a function getReply() using 'Bot executes' and added two context keys with branch in it. If both the keys are available, I'm sending a reply to the user using the 'Bot says' and it will go to the next step else it will ask the missing key to the user.
The issue is, in the reply I'm using only one of the context key. The flow works if that key is available. It doesn't considers about the other key. It is checking both keys only if we add both the keys in the reply.
In the code I'm checking those keys in the function getReply() and then adding it to the context.
I have created a new app in wit.ai. In stories, after the 'User says', I have added a function getReply() using 'Bot executes' and added two context keys with branch in it. If both the keys are available, I'm sending a reply to the user using the 'Bot says' and it will go to the next step else it will ask the missing key to the user.
The issue is, in the reply I'm using only one of the context key. The flow works if that key is available. It doesn't considers about the other key. It is checking both keys only if we add both the keys in the reply.
In the code I'm checking those keys in the function getReply() and then adding it to the context.
Is everything correct or am I missing something? Why the context key is not initiated if its not in the reply.
Thanks.
The text was updated successfully, but these errors were encountered: