question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support QnAMaker Follow-up Prompts

See original GitHub issue

The 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:closed
  • Created 4 years ago
  • Comments:12 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
msekkappancommented, Oct 17, 2019

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.

0reactions
Recidvstcommented, Jun 7, 2023
Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found