ai-chatbot-framework icon indicating copy to clipboard operation
ai-chatbot-framework copied to clipboard

Handle inner story

Open hadifar opened this issue 6 years ago • 8 comments

First of all, thanks for your library. I really enjoy working with that. I have a question regarding to Story. I think it would be useful to handle inner story (like what IBM-Watson does) How can I handle inner story to support long conversation?

hadifar avatar Mar 07 '18 14:03 hadifar

There is no dialogue flow feature as of now. But we have a plan to add it soon.

alfredfrancis avatar Mar 08 '18 03:03 alfredfrancis

Thanks for your answer... Can you give me some hint to handle this? or could you please tell when you plan to add this feature?

hadifar avatar Mar 25 '18 05:03 hadifar

You need to maintain some kind of state machine to handle inner stories/dialogue flows. The idea is to build the state machine as part of the training process ( A UI to define the state diagram). Then use NLU to trigger and jump between states. Currently, I'm working on the same and hope to add this feature soon.

alfredfrancis avatar Mar 26 '18 08:03 alfredfrancis

Hi, Can you tell inner stories and dialog flows are done it. I am exactly looking that one. either could you give me some hints for handle this code?

And Currently, UI have an option to create Entity but there is no option to link into the intent. How to use that one ?

karthikeyanm21 avatar May 29 '18 13:05 karthikeyanm21

For handling inner stories you can follow above-mentioned method ,

You need to maintain some kind of state machine to handle inner stories/dialogue flows. The idea is to build the state machine as part of the training process ( A UI to define the state diagram). Then use NLU to trigger and jump between states.

Entities are avilable inside intents as parameters. You can link then using same name (for both entity and parameter).

alfredfrancis avatar May 29 '18 15:05 alfredfrancis

Accessing states from other intents is being done in this branch

alfredfrancis avatar Jun 23 '18 18:06 alfredfrancis

Thanks buddy... I am also tried something like that.. Let me check it and confirm you....

karthikeyanm21 avatar Jun 30 '18 06:06 karthikeyanm21

Is this still being worked on?

danielriddell21 avatar Jan 28 '20 18:01 danielriddell21