-
-
Notifications
You must be signed in to change notification settings - Fork 350
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
Make it possible to jump between conversation steps #13
Comments
Hi, Can you give a particular use case where you need to skip conversation to get the work done easily which would be instead cumbersome with the existing framework? |
If you have a story with two or more branches, it would be nice if you could jump to the branch depending on the input. |
@johkin You may be right about jumping between conversation steps but I think your problem will be solvable with the existing queue as well. You can mention your conversation steps here and I can try to help. For example, let's say you have a food ordering bot and the 2 branches according to you can be:
Or you can have 1 branch as (with the existing conversation queue structure):
|
In my current example I'm trying to build a time-reporting bot, and the first case I've looked into is handling sickness. Client: I'm feeling ill. This conversation can probably be refactored to something using the queue, but after looking at "wit.ai" which now supports branching it seems like a natural thing to support a graph instead of a queue. |
In the current solution it's not possible to skip a step in a conversation.
Maybe there could be a new method
nextConversation(event, "confirmBooking")
, which could create a conversationQueue "on-the-fly". This would make it possible to change the flow of a conversation depending on the input from the user.That could perhaps remove the need for
startConversation(event)
andstopConversation(event)
and also thenext
-attribute in the annotation?The text was updated successfully, but these errors were encountered: