Support QnAMaker Follow-up Prompts
See original GitHub issueThe QNA portal implemented a new feature to allowusers to define follow-up questions, those follow-up questions are returned in a ‘context’ property in the service response, but the QnAMaker.GetAnswersAsync method doesn´t return that property (only the answer)…
Solution The Bot Framework should auntomatically generate/present dynamic cards when a QNA answer includes follow-up questions.
Example QNA service response
{
"answers": [
{
"questions": [
"What is a Virtual Assistant"
],
"answer": "We have seen significant need from our customers and partners to deliver a conversational assistant tailored to their brand, personalized to their customers and made available across a broad range of conversational canvases and devices. Continuing Microsoft open-sourced approach toward Bot Framework SDK, the open source Virtual Assistant solution provides full control over the end user experience built on a set of foundational capabilities. Additionally, the experience can be infused with intelligence about the end-user and any device/ecosystem information for a truly integrated and intelligent experience.\nFind out more [here](https://github.com/Microsoft/AI/blob/master/solutions/Virtual-Assistant/docs/README.md).",
"score": 100,
"id": 141,
"source": "custom editorial",
"metadata": [],
"context": {
"isContextOnly": false,
"prompts": [
{
"displayOrder": 0,
"qnaId": 182,
"qna": null,
"displayText": "what type of assistant?"
}
]
}
}
],
"debugInfo": null
}
[enhancement]
Issue Analytics
- State:
- Created 4 years ago
- Comments:12 (3 by maintainers)
Top Results From Across the Web
Multi-turn conversations - QnA Maker - Azure AI services
When a user asks a question, QnA Maker returns the answer and any follow-up prompts. This response allows you to present the follow-up...
Read more >QnA maker followup prompt - Power Platform Community
Solved: Hi! I'm currently working with a QnA-maker knowledge base and successfully integrated with Power Virtual Agent. I integrated the two systems.
Read more >Implement the Follow-up prompt for QnA Bot
The follow-up prompt is just a PREVIEW feature of QnA Maker. The QnA Bot template has not supported this follow-up prompt feature yet....
Read more >Display Text for QnAMaker follow-on prompts
I'm attempting to use follow-on prompts within QnAMaker but am confused about the purpose of the field labelled "Display text" in the "Follow-up...
Read more >QnA Maker follow-up prompts do not work in test WebChat
I have been testing my KB in the QnA Maker Portal using the test chatbot and it doesn't work as expected with follow-up...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I am using bot version 4.5.1, are the prompts available? or do I need to create the context manually? I do not see “context”: { “isContextOnly”: false, “prompts”: [ { “displayOrder”: 0, “qnaId”: 182, “qna”: null, “displayText”: “what type of assistant?” } ] } in intellisense.
Is there an up to date version of this sample? https://github.com/microsoft/BotBuilder-Samples/tree/master/experimental/qnamaker-prompting/csharp_dotnetcore