Botframework-sdk: Remove mention of chat bot name in MS teams

Created on 15 Jul 2019  路  2Comments  路  Source: microsoft/botframework-sdk

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

Bot Services customer-replied-to customer-reported

Most helpful comment

@mdrichardson, please investigate

All 2 comments

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

vaditya04 picture vaditya04  路  3Comments

sebsylvester picture sebsylvester  路  3Comments

RaoVenka picture RaoVenka  路  3Comments

akakoychenko picture akakoychenko  路  3Comments

mattlanham picture mattlanham  路  3Comments