I am trying to implement auto Question-suggestions Pop-Up in chatbot using Bot Framework in C#. how to keep multiple auto Question suggestions Pop-Up in a single row. when I enter the hi(text field) it gives the multiple suggestion(like hello, hey there,hi etc.) and click on suggestion it will auto complete it , It should be like Google suggestion.
I 'm implemented in C#,But it give suggestion with multiple answer.Here is below my sample code
[QnAMaker("set yout subscription key here", "set your kbid here", "I don't understand this right now! Try another query!", 0.50, 3)]
public class QnABotWithCustomAnswer : QnAMakerDialog
{
protected override async Task QnAFeedbackStepAsync(IDialogContext context, QnAMakerResults qnaMakerResults)
{
// responding with the top answer when score is above some threshold
if (qnaMakerResults.Answers.Count > 0 && qnaMakerResults.Answers.FirstOrDefault().Score > 0.75)
{
await context.PostAsync(qnaMakerResults.Answers.FirstOrDefault().Answer);
}
else
{
await base.QnAFeedbackStepAsync(context, qnaMakerResults);
}
}
}
Please Help me.