Skip to content
This repository was archived by the owner on Jan 15, 2025. It is now read-only.
This repository was archived by the owner on Jan 15, 2025. It is now read-only.

Return to Previous prompt not working with multi-turn custom question and answering. #1468

@anujjsr

Description

@anujjsr

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

  1. Imported this doc to Custom Question and answering project.
  2. Under “Carbon Emissions” and “Financing Environment” add a follow-up to return to the previous conversation flow - it should be titled “Return to previous”

image

  1. 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.
  2. Deployed it
  3. Create a composer bot and add the component "Microsoft.Bot.Components.Recognizers.CustomQuestionAnsweringRecognizer"
  4. Add the trigger "QNA intent recognized" to above created composer bot in step 5.
  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
image

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.
image

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.

image

I can send the emulator transcript file on email if required.

Additional context

Metadata

Metadata

Assignees

Labels

Bot ServicesRequired for internal Azure reporting. Do not delete. Do not change color.ExemptFromDailyDRIReportUse this label to exclude the issue from the DRI report.customer-replied-toIndicates that the team has replied to the issue reported by the customer. Do not delete.customer-reportedIssue is created by anyone that is not a collaborator in the repository.feature-requestA request for new functionality or an enhancement to an existing one.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions