Open justinvan0603 opened 7 years ago
At the moment you should think of MessageRouterManager
as the main API you use in your bot. You can end the conversation by calling EndEngagementAsync method. RemoveParty
will have the same effect.
For demonstrative purposes the DefaultBotCommandHandler
can be used; command end
ends the conversation. Needless to say this should not be the case in production env.
Can you please point to places that are difficult to understand? I'd be happy to revise the documentation based on your feedback.
Hi @tompaana, right now, i'm trying to make an Agent UI project that connect with the Bot by that way:
I think we should add a backchannel interface similar to command handling. This would enable things like agent UI to directly control the bot i.e. you could have buttons like "disconnect" in the agent UI to end an engagement etc.
Hello @tompaana ,I've taken more time to research your sample. And I've found that the bot seem doesn't know when the conversation is end. I'm thinking of the issue when we are going to make it in long running (the memory may run-off) even though we store it in table such as Azure Table but it still reduncdant to store something we won't use it again. So is there any idea to handle this situation? P/s: It took me lots of time to read your document and your code but it seems to be hard to understand it clearly. Should you write the document more focusing on the behaviour of the bot when the method
Post
is invoked. Thanks for attention my post.