如何在 Microsoft Azure Bot QnA 框架中自定义 "Hello and welcome" 默认响应消息

How to customize the "Hello and welcome" default response message in Microsoft Azure Bot QnA framework

我正在尝试使用 Microsoft Azure Web 应用程序机器人设计为 QnA 机器人制作聊天机器人(使用 QnA maker 作为知识库。我发现了如何在代码默认响应消息中重写 "no good match in FAQ"。是吗?是否可以用类似的方式重写代码中某处的 "Hello and Welcome" 默认消息?This is how I changed the "no good match in FAQ" default message in code

也许您可以 post 机器人本身的一些代码,但通常这种 "welcome" 消息是在 OnMembersAdded event handler. See here 中处理的,例如你的项目中应该有类似的东西。我猜想没有看到更多你的应用程序,它在你的 "QnABot.cs" 文件中。

是的,这是可能的,Hilton Giesenow 是正确的,在 Bots>QnAbot.cs

请参阅this screenshot to illustrate

希望对您有所帮助