branchactionweatherwit.ai

after triggering a branch in wit.ai using weather the initial action no longer works


I followed the quick start guide and was able to complete it.

However, when i tried testing the branch action then followed by the initial action where the parameters are complete it keeps on responding with a question triggered by the branch action.

How do I resolve this?

Chat bot


Solution

  • I think your second scenario where the user doesn't specify a location should go into a sparate story: From Wit.ai documentation:

    You will teach Wit by example, and each example conversation is called a Story

    So from what i understand a story needs to handle one initial input.