0

I want to add cards in my QnA Maker. I my QnA maker if anyone asks about "what services we provide?" Bot should answer (for example: We provide following services /n/n 1: Bot Development /n/n 2: Web Development /n/n 3: Documentation). In this example bot should reply it with the card and if user clicks on any of the above mentioned services than it should gives details about that. Thanks in advance...

1 Answers1

2

QnA Maker has just released a new feature called multi-turn conversations whcih does exactly what you are looking for.

Once you have added some multi-turn conversations to your knowledge base you can try this out by downloading the BotBuilder-Samples repo and opening the qnamaker-prompting sample (C# and NodeJS provided) then you can plug your knowledge base details into the appsettings.json (C#) or .env (NodeJS) file and test the functionality locally using the Bot Framework Emulator.

The key part is this method which checks to see if the result contains any prompts and returns the response accordingly - it is called inside the controller.

This should give you a good idea of how to get started.

Matt Stannett
  • 2,700
  • 1
  • 15
  • 36