I have a developed a chat bot using v4 and C#. first it was deployed to web, now we added bot into MS teams. In teams, chat bot is not responding with accurate answers from QnA service, however the same question gets answered with correct one in Web. We've found the reason, that the chat bot name (@ChatBot) gets appended in front of the question, that in turn changes the question structure.
I tried the methods RemoveMentionText(turnContext.Activity.Id); and RemoveRecipientMention, but no luck so far.
Is there a way i can remove the chat bot name from the question before calling the QnA or Luis service. ? Please help
@mdrichardson, please investigate
Ignore my previous answer that I'm not editing out.
I'm going to close this as it is a duplicate and I'll answer it there.
Most helpful comment
@mdrichardson, please investigate