Botframework-solutions: Support multi-turn QnA Maker in VA

Created on 18 Jul 2019  ·  7Comments  ·  Source: microsoft/botframework-solutions

User Story

As ... a bot developer
I want ... a want to be able to enable multi-turn QnA Maker knowledgebases in VA
so that ... I can enable multi-turn scenarios as needed.

Acceptance Criteria

List your requirements.

  • [ ] Modify existing QnA logic to support either single-turn QnA or multi-turn QnA
  • [ ] Should align to SDK implementation
  • [ ] Validate with an example in FAQ,lu
  • [ ] Should be able to exit "multi-turn" mode at will
  • [ ] Should exit multi-turn mode when answer not found

Resources

Provide any screenshots or conversation mockups to support your request.
Learn how to mock up bot conversations with .chat files.

Notes

Provide any additional information.
Multi-turn QnA has the side affect of trying to keep control of the conversation flow after each turn. We need a good way to allow the user to exit multi-turn mode as needed.

Should reference this sample to get started: https://github.com/microsoft/BotBuilder-Samples/tree/master/experimental/qnamaker-prompting/csharp_dotnetcore

P0 Backlog Blocked

Most helpful comment

Changes merged into new QnAMaker - @Batta32 tracking work to update typescript

All 7 comments

I notice that version 4.5.3 of botbuilder-ai doesn't support the _context_ property in QnAResults. I assume this VA integration relies on this botbuilder-js commit and associated code to be published to npm.

Is there a road map or other reliable way of tracking the potential release of such enhancements? @lauren-mills @trojenguri

@cperson yes, we are dependent on support from the BF SDK to include this feature in our TypeScript implementation. As for the SDK roadmap, their GitHub projects and releases are the best place to track their upcoming changes.

Need to check with SDK team on QnA Dialog and future updates

Blocked by ongoing work in SDK to support multi-turn OOTB

My customer and I are about to use VA, primarily for QnAMaker (for now) - will it be difficult to leverage the experimental multi-turn code over to the VA (as in myself doing it)? https://github.com/microsoft/BotBuilder-Samples/tree/master/experimental/qnamaker-prompting/csharp_dotnetcore

Thanks!

@samaea I am working with TypeScript, but found it fairly simple to implement follow up prompts using the unsafe type 'any'.

I didn't implement the complete multi-turn model because I didn't want the conversation flow limited to QnA dialog.

Changes merged into new QnAMaker - @Batta32 tracking work to update typescript

Was this page helpful?
0 / 5 - 0 ratings

Related issues

manish-95 picture manish-95  ·  3Comments

hansmbakker picture hansmbakker  ·  3Comments

lauren-mills picture lauren-mills  ·  3Comments

nestoralonsovina picture nestoralonsovina  ·  4Comments

esoler-sage picture esoler-sage  ·  3Comments