QnA Maker doesn't show buttons when deployed in MS Teams - azure

I have deployed a qnamaker bot to Microsoft Teams but the dialog buttons don't show up anymore.
In the qnamaker site, the buttons work
In teams, the buttons don't appear ;(
Does anyone have any ideas as to why this changes?
Is there anything I can do to solve this?

#Ceal clem Are you trying to use Suggested actions? If so, suggested actions are not supported in Teams. Could you please try using Cards to show the buttons?

From the documentation here: https://learn.microsoft.com/en-us/azure/cognitive-services/QnAMaker/how-to/multiturn-conversation#enable-multi-turn-during-testing-of-follow-up-prompts
You need to add this sample to enable prompts in client.

Related

QnA Maker "Context Only" not working in live Bot or Emulator

I'm developing an Azure Bot using Bot Framework Composer.
I've got my QnA knowledgebase set-up with a number of Context-Only questions.
These questions work perfectly when testing in the QnA portal.
I've tested with both my original QnA knowledge base & also the Bot generated knowledge bases.
However when testing via emulator, or working with the Bot in a live environment it bypasses the Context-Only element entirely.
I need the Context-Only elements to work as we have a number of identical departments in different locations - so the same question will require a different answer depending on where our users are based.
Not sure what more info to provide, but if anyone has any insight I'd gratefully welcome it.
I reproduced the thread and tested it in QnA emulator and web chat. In both cases it worked for and got a response from the bot.
Go to https://language.azure.com/
Choose the Custom question answering
Choose Custom question answering
Click on “Open custom question answering”
Click on “Create new project”
Click on “Edit knowledge base”
Click on Add questions pair
Tested in Studio. Worked well
Click on “Deploy knowledge base”
Click on create a bot.
Create a bot
Go to “Test in web chat”. Test there. It worked for me.
We can create synonyms as the context-based elements. When we have context-based, the model can be trained for short form questions, instead of complete pattern of the question.
Managed to resolve this by adding my Bot to Bot Emulator, and adding the QnA knowledgebase as a service.
This allowed me to trace the QnA pairs, publish & train within emulator & drive the questions down the correct Context-Only route.

integration Buttons in Dialogflow Web demo Chatbot

i have a question about chatbots with dialogflow.
I am currently building a chatbot in Dialogflow. I would like to add this chatbot to my website. My problem is that this chatbot should also contain buttons, that the user can click on this. I have built some buttons,but I can't see the buttons in the Dialogflow web demo. There are buttons on dialogflow console, but it isn't shown on the web demo. Does anyone know what that could be?
I only found it as a source kommunicate.io, which didn't really help me either.
Thanks for answers..
Dialogflow Web Demo does not support rich responses (buttons, cards, images etc..). For integrating it to your webpage you can either use third-party solutions like Kommunicate or build your own web wedge.
Yeah, DialogFlow web demo does not provide rich responses like the card, quick replies & suggestion chips. But you can use Dialog Flow messenger(New Feature) to add buttons & images. You've to use Custom Payload for getting a rich response.

Dialogflow, chatbot for workplace

I wanted to know if it's possible to make a chatbot for workplace with Dialogflow and if it is how?. Because I made one just to test it, on a facebook site a created. I want to make the same one for my workplace. I would appreciate some help. Thank you very much.
the Workchat of Workplace works exactly as Messenger so quick answer is yes. Once you have created your chatbot you can go in the Integrations page in Dialogflow and activate the integration with Messenger. You will have to put there the access code that you can create from the Integration dashboard from Workplace (admin panel --> integrations --> create custom integration).
The Workplace integration must have, at least, permissions for:
- Message any member
and the webhook configured for Page --> Messages
I hope this helps
Depends on what you want to do?
Suppose you are making a chatbot for HR.
Yes, you can do that by starting with FAQs (Frequently asked questions). This is the best thing to start as it's not very complex.
Yes, you can link it to Facebook where people in your workplace can access this chatbot on Facebook chat.
Let me know if you need more information
Yes it´s possible!
You need to create the bot inside the Workplace, and link inside Dialogflow same as you did with Facebook.
If you need some help, ask me!

Disable button once clicked MS bot framework

I am creating chatbot application using MS bot framework. In that, I want to disable both buttons once Yes or No is clicked.
Sorry but the webchat (and other channels) does not support what you want to do, even if it would be useful for many cases.
There is a sort of workaround if you really need to have buttons that cannot be used: use SuggestedActions (see doc here), it will look like the following:
Once clicked the buttons disappear.
If you are using facebook messenger you can use quick replies. They will disappear after interactions.
https://developers.facebook.com/docs/messenger-platform/send-messages/quick-replies
Microsoft.Bot.Builder.ConnectorEx.FacebookQuickReply

Integrating Instant Messaging into SharePoint!

Maybe this is a dumb question!
I'm just wandering is there any way/web part integrating with SharePoint, by which I can communicate with others instantly.
The reason behind this requirement is that I still have not found any workaround to communicate with my colleagues instantly, like MSN, in SharePoint.
P.s If I start building one, where should I get started!
Thanks for your input and forgive me if my question is stupid!
You can integrate Microsoft Office Communcations Server into SharePoint apparently. Gives you access to MSN Messenger internally to your enterprise, among other things.
Users who run Windows Live Messenger will get a precense icon for all user lookups when their email settings are configured properly. It requires all users to add each other to their live accounts, so it might not be the solution you are looking for. Another way to get the precense icon is by using Microsoft Office Communications Server as Moo suggested.
This also integrates well into Outlook and is the way Microsoft decided to implement communication in the Office suit.
Check out chatterbox:
http://blogs.msdn.com/sharepoint/archive/2007/05/15/chatterbox-persistent-chat-session-for-sharepoint.aspx
Here is another open source feature I have been working on.
EDIT: The name of the feature is Sharepoint Messenger. You can find it either google search, codeplex or the link below.
https://sharepointmessenger.codeplex.com/

Resources