Bot Framework Composer变量等效
当创建Azure Bot时,我在bot Framework作曲家中使用的变量turn.text。我想问一个问题:在Visual Studio中编码时,在Bot Framework作曲家中等同于user.name或user.age?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
该机器人需要维护用户状态以跟踪用户的答案。
您是否有机会查看样本?它演示了如何将用户和对话数据保存在机器人中。该机器人保持对话状态以跟踪和指导对话并询问用户问题。
上述示例提供其他编程语言,例如C#,JavaScript,Python,Java,来自以下链接:
https://github.com/microsoft/botbuilder-samples/tree/main/samples
The bot needs to maintain user state to track the user's answers.
Have you had a chance to check out sample /45.state-management/? It demonstrates how to save user and conversation data in a bot. The bot maintains conversation state to track and direct the conversation and ask the user questions.
The above sample is available in other programming languages such as C#, JavaScript, Python, Java from the following link:
https://github.com/microsoft/BotBuilder-Samples/tree/main/samples