-
Notifications
You must be signed in to change notification settings - Fork 83
Return to Previous prompt not working with multi-turn custom question and answering. #1468
Description
Describe the bug
Return to Previous prompt not working with multiturn QNA maker. Top to down sequence of follow-up prompt is working find but the reverse sequence i.e., bottom - up is not working.
Version
Component Version - 1.0.0.
SDK version - 4.12
Version: 2.1.2
Electron: 8.2.4
Chrome: 80.0.3987.165
NodeJS: 12.13.0
V8: 8.0.426.27-electron.0
To Reproduce
- Imported this doc to Custom Question and answering project.
- Under “Carbon Emissions” and “Financing Environment” add a follow-up to return to the previous conversation flow - it should be titled “Return to previous”
- Test it on CQA portal - Ensure that you are using the multi-turn conversation feature so that when you ask - for example - “ What Is Microsoft’s ESG rating?” you have the option of clicking “Climate Change”, “Human Capital”, “Corporate Governance”, and “Product Liability”. Select "Climate Change" --> "Carbon Emissions" --> "Return to previous" - Return to previous step is working fine in CQA test.
- Deployed it
- Create a composer bot and add the component "Microsoft.Bot.Components.Recognizers.CustomQuestionAnsweringRecognizer"
- Add the trigger "QNA intent recognized" to above created composer bot in step 5.
- Test the composer bot with the test steps mentioned in step number 4 but this time return to previous step follow-up prompt doesn't gives any response.
Expected behavior
Expected output is to have the follow up prompt for return to previous step
Screenshots
Follow up prompt working in Custom Question and answering Portal Test app
Follow up prompt also working for return to previous step in Custom Question and answering Portal Test app
Notice the last user request - "Return to previous" to which the reponse was generated for the linked climate change option.
Follow up prompt NOT working for return to previous step in Composer Bot using the component - Microsoft.Bot.Components.Recognizers.CustomQuestionAnsweringRecognizer
Return to previous step gives no response back as can be seen in below screenshot.
I can send the emulator transcript file on email if required.