Microsoft.Bot.Connector.DirectLine客户端问题 [英] Microsoft.Bot.Connector.DirectLine client issue
问题描述
亲爱的,
谁能让我知道问题的答案,
我已经编写了一个C#客户端api,用作我的应用程序和azure bot服务之间的中间件,
Dear,
Can anyone let me know answer to an issue,
I have written a C# client api to serve as middle-ware between my application and azure bot services,
问题是,如果我发布msg 1,并获得带有会话ID的响应,则我获得msg1 response1,当我发布msg2,并获得响应,
我得到响应1(msg1),响应2(msg2),如何将响应msg限制为仅电流.
谢谢我的进步
The issue is if i post msg 1, and get response with conversation id, i get msg1 response1 , when i post msg2 ,and get response,
i get response 1(msg1), response 2(msg2), how to restrict response msg to current only.
thanks i advance
推荐答案
穆罕默德·阿里·齐亚(Muhammad Ali Zia),
Hi Muhammad Ali Zia,
谢谢您在这里发布.
对于您的问题,当您完成msg1 response1时,您可以结束转换并打开新的对话以获取msg2 response2.
For your question, when you finish the msg1 response1, you could end the conversion and open a new conversation get the msg2 response2.
如果获得response1(msg1),response2(msg2),则可能是您编写的C#客户端api有问题.在您的api中,您每次都保存响应.您可以清除以前由您的api存储的响应.
If you get the response1(msg1), response2(msg2), maybe there is something with the C# Client api which you written. In your api, you save the response every time. You could clear the previous the response which stored by your api.
我希望这会有所帮助.
最好的问候,
温迪
这篇关于Microsoft.Bot.Connector.DirectLine客户端问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!