Code Monkey home page Code Monkey logo

microsoft-teams-faqplusplus-app's Introduction

DEPRECATED - FAQ Plus App Template (version 1)

Note: Version 1 of the FAQ Plus app template has been deprecated and is no longer maintained. Please consider using the version with the latest updates available on the new repository here. The latest version of FAQ Plus has many improvements and features over version 1 available in this repository.

FAQ Plus (latest version) Documentation Deployment guide Architecture

Chatbots are an easy way to provide answers to frequently asked questions by users. However, most chatbots fail to engage with users in a meaningful way because there is no human in the loop when the chatbot fails.

FAQ Plus bot is a friendly Q&A bot that brings a human in the loop when it is unable to help. One can ask the bot a question and the bot responds with an answer if it's in the knowledge base. If not, the bot allows the user to submit a query which then gets posted in a pre-configured team of experts who are help to provide support by acting upon the notifications from within their Team itself.

An end-user interacting with FAQ Plus:

FAQ Plus in action (user view)

Experts team using FAQ Plus:

FAQ Plus in action (experts view)

Legal Notice

This app template is provided under the MIT License terms. In addition to these terms, by using this app template you agree to the following:

  • You are responsible for complying with all applicable privacy and security regulations related to use, collection and handling of any personal data by your app. This includes complying with all internal privacy and security policies of your organization if your app is developed to be sideloaded internally within your organization.

  • Where applicable, you may be responsible for data related incidents or data subject requests for data collected through your app.

  • Any trademarks or registered trademarks of Microsoft in the United States and/or other countries and logos included in this repository are the property of Microsoft, and the license for this project does not grant you rights to use any Microsoft names, logos or trademarks outside of this repository. Microsoft’s general trademark guidelines can be found here.

  • Use of this template does not guarantee acceptance of your app to the Teams app store. To make this app available in the Teams app store, you will have to comply with the submission and validation process, and all associated requirements such as including your own privacy statement and terms of use for your app.

Getting started

Begin with the Solution overview to read about what the app does and how it works.

When you're ready to try out FAQ Plus, or to use it in your own organization, follow the steps in the Deployment guide.

Feedback

Thoughts? Questions? Ideas? Share them with us on Teams UserVoice!

Please report bugs and other code issues here.

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

microsoft-teams-faqplusplus-app's People

Contributors

abbodh avatar anuragysingh avatar aosolis avatar ktcodebite avatar microsoftopensource avatar msftgits avatar nishandi avatar suramn avatar v-konay avatar yashrajmungale avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

microsoft-teams-faqplusplus-app's Issues

Issue on AdaptiveChoiceSetInput design, on mobile app dropdown first value having strike line, when we tab on it

Hello Team, I am facing one design issue over Teams mobile app, it is working fine on Desktop version.

Getting design issue on AdaptiveChoiceSetInput control on AdaptiveCard

I am getting a strike line when i tab on the dropdown over mobile, a strike line similar to 'v' shape

AdaptiveChoiceSetInput choiceSet = new AdaptiveChoiceSetInput { Id = "dropdownuniqueID", IsMultiSelect = false, Style = AdaptiveChoiceInputStyle.Compact };

To reproduce:
please open the SME card in Android mobile and click on 'Change Status' button on behalf of Expert. and when you tab on the dropdown value will expand in the screen and on that the first value having a strike line.

Sorry team not able to upload any snapshot getting below error on developer tool
Access to XMLHttpRequest at 'https://github-production-user-asset-6210df.s3.amazonaws.com/' from origin 'https://github.com' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.

Problems to implement SendCardToTeamAsync method

I installed the default configuration, it works like a charm. However, I modified the code to allow faq plus answer over webchat.

image

Everything works well, except the method which send the card to the expert team. When the user press the action card "Ask an expert", SendcardToTeamAsync() is triggered to send the action card and then SendcardToTeamAsync() in the file https://github.com/OfficeDev/microsoft-teams-faqplusplus-app/blob/master/Source/Microsoft.Teams.Apps.FAQPlusPlus/Bots/FaqPlusPlusBot.cs Finally, the line where the code brokes is the

await ((BotFrameworkAdapter)turnContext.Adapter).CreateConversationAsync(

I've checked the logs and it said the its a bad request, but I don't understand why its a bad quest. All the parameters of the method are the same of the original code.

image

If you have any idea about this issue, I'll be super glad.

Thanks in advance

Doesn't perform suggested turns based on context in KB's

For instance, if you have multiple potential options with similar text, the QNAMaker bot will read the KB links and present the additional turns in the card. (prompt based on context)

This bot, while great, doesn't show the turns and just presents the "Ask an Expert" and "Share Suggestion". Not sure if ignoring if the knowledge base links for context is by design or an issue.

I'm learning this code to try and find it for a pull request but figured I would ask if it is a bug.

Summary: In the Knowledge base on qnamaker.ai, if you have a follow-up prompt that context links to other QnA pairs, it doesn't present the follow-up.. The same KB on the original qnamaker bot would.

This bot however, just does the Ask an Expert card.

Parsing issue with Manifest

Trying to add the faqplus, and apparently I am one of a few who cannot follow what was described as easy to deploy.

Region Specification of Cognitive Services

When creating the QnA Maker the cognitive services were spun up in the West region. Is this intended. I spun up the rest of the services in East. Should this be replaced by the location parameter or was this intended. I am troubleshooting an issue where the endpoints didnt show up in the QnA maker portal.

Can not send SmeTicketCard to expert Teams channel - Operation returned an invalid status code 'Forbidden'

var resourceResponse = await this.SendCardToTeamAsync(turnContext, smeTeamCard, expertTeamId, cancellationToken).ConfigureAwait(false);

fail: Microsoft.Teams.Apps.FAQPlusPlus.Bots.FaqPlusPlusBot[0]

  Error processing message: Operation returned an invalid status code 'Forbidden' 

Microsoft.Bot.Schema.ErrorResponseException: Operation returned an invalid status code 'Forbidden'

at Microsoft.Bot.Connector.Conversations.CreateConversationWithHttpMessagesAsync(ConversationParameters parameters, Dictionary`2 customHeaders, CancellationToken cancellationToken)

Remove 'Ask an Expert' button

Hello there, we are looking to remove the Ask an Expert feature of the bot, and were wondering if that were even possible to do so. Ideally, we'd like to just have the bot that the user can message and get a quick reply from the bot, without the option to escalate to an expert.

At least one deployment operation failed error

I got the following error as a result of the deployment process
"statusCode": "BadRequest", "statusMessage": "{\"error\":{\"code\":\"InvalidTemplate\",\"message\":\"Unable to process template language expressions for resource '/subscriptions/xxxxxxx-yyyy-zzzz-vvvv-nnnnnnnn/resourceGroups/msft-teams-faqplusplus-rg/providers/Microsoft.CognitiveServices/accounts/msft-teams-faqplusplus-base-resource/providers/Microsoft.Insights/diagnosticSettings/setByPolicy' at line '1' and column '564'. 'The template variable 'westus' is not found. Please see https://aka.ms/arm-template/#variables for usage details.'\",\"additionalInfo\":[{\"type\":\"TemplateViolation\",\"info\":{\"lineNumber\":1,\"positionNumber\":564,\"snippet\":\"\"}}]}}"

Fehler beim Lesen von manifest.json: Ungültige Werte für validDomains[0] angegeben: „https://tenant.sharepoint.com“

hey, i tried configuring this: https://docs.microsoft.com/en-gb/sharepoint/dev/features/embed-pages-to-teams

but when i click "install" i am getting this error:
Fehler beim Lesen von manifest.json: Ungültige Werte für validDomains[0] angegeben: „https://tenant.sharepoint.com“

when i look at my manifest i see that "https://tenant.sharepoint.com" is added automatically to validdomains from my tab urls.
when i try to remove "https://" from my tab, then validdomains is correct, but i get an error that this https:// is needed.
Is this a bug?

Here is my manifest:
{
"$schema": "https://developer.microsoft.com/en-us/json-schemas/teams/v1.7/MicrosoftTeams.schema.json",
"manifestVersion": "1.7",
"version": "1.0.0",
"id": "4ddeb0da-6c62-440b-aae7-cfb8aeacbe35",
"packageName": "com.teams.dwp.app",
"developer": {
"name": "Ich",
"websiteUrl": "https://domain.de",
"privacyUrl": "https://domain.de",
"termsOfUseUrl": "https://domain.de"
},
"icons": {
"color": "color.png",
"outline": "outline.png"
},
"name": {
"short": "DW",
"full": "Digital Workplace"
},
"description": {
"short": "test",
"full": "test123"
},
"accentColor": "#FFFFFF",
"staticTabs": [
{
"entityId": "123",
"name": "Test",
"contentUrl": "https://tenant.sharepoint.com/_layouts/15/teamslogon.aspx?SPFX=true&dest=/sites/dw/SitePages/Home.aspx",
"websiteUrl": "https://tenant.sharepoint.com/_layouts/15/teamslogon.aspx?SPFX=true&dest=/sites/dw/SitePages/Home.aspx",
"scopes": [
"personal"
]
}
],
"permissions": [
"identity",
"messageTeamMembers"
],
"validDomains": [
"https://tenant.sharepoint.com"
],
"webApplicationInfo": {
"id": "00000003-0000-0ff1-ce00-000000000000",
"resource": "https://tenant.sharepoint.com"
}
}

Bot not replying

Hey. I've tried a couple times to make the bot work but it always has the same behaviour: I get no response. This is the same if I try from Teams or using 'test in web chat' under bot management in Azure. How can I troubleshoot?
Thanks!

The App deployment from ARM templates are now working anymore in West Europe

  1. Deploying this template in West Europe gives us The specified app service plan was not found error.
  2. Deploying this template to West US: Just works fine.
  3. We tried creating from and existing Resource group and new resource group: not change
  4. We have used this template multiple times couple of months back and it was working fine in West Europe location, however when tested today, it started giving error.

Any guidance on this issue is much appreciated.

deployment failed with conflict error. i've run this several times witht he same issue. i've followed the directions explicitly. any assistance is appreciated

{
"code": "DeploymentFailed",
"message": "At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.",
"details": [
{
"code": "Conflict",
"message": "{\r\n "status": "Failed",\r\n "error": {\r\n "code": "ResourceDeploymentFailure",\r\n "message": "The resource operation completed with terminal provisioning state 'Failed'."\r\n }\r\n}"
}
]
}

Does not handle multi-turn QnA Maker correctly

When connected to a multi-turn QnA Maker KB, the prompts that follow a question are not rendered correctly in the interface, most likely because multi-turn did not exist at the time this was built.

BOT is not responding

Deployed the FAQ Plus BOT by following the steps mentioned in deployment guide. but the BOT isn't responding when tested in "test in web chat" and in MS Teams. Not able to find what the issue is. Need urgent assistance.

problem has occurred. Please try again later

Hello,
During the last step of deployment, which involves loading the application into Teams an error message displayed with no more details unfortunately: problem has occurred. Please try again later?

Any idea please?

Multi Team

Looking to use this to handle a multi team expert approach

For instance user asks question on teams and wants expert - it goes to team a

if they ask question on sharepoint and wants expert it goes to team b

is that possible?

Usage in multiple tenants

Hi,

Looking to run the bot from a central tenant and then add to multiple tenants.
I've just tested using the bot within a different tenant and receiving the following message/error with no response from the bot:

image

Is there any way to run the bot in multiple tenants?

Thanks

Multi-turn doesn't handle options V4

FaqPlus V4

We recently installed Faq Plus on our tenant, configured the multi-turn extraction from URLs, .pdf or .docx files in the knowledge base, which handle bot from one question to another . When choosing any of the options shown by the bot, it responds saying I didn't find a matching answer for this question. Do you want me to ask an expert?

In previous deployments whith customers, we don't face this issue, is there an additional configuration in this version (V4).

Capture FaqPlus multi turn

We have also tested the functionality in the knowledge base portal, , save and train, then publishing the knowledge base.

Capture knowledge base multi turn

Web Channel Availability

The bot service seems to install a web channel but when trying to use it the bit doesn’t respond. Can this bit support the web channel

Web chat wont crawl QnA database

Hi,

I just deployed template and I playing around with it.
This is not a issue, perhaps is specific with my installation.
Can you help me with following issue: web chat in Azure or in botframework don't work.
Otherwise, FAQ Plus works just fine in MS Teams.

Edit: Just found here that FAQ Plus is designed to work only in MS Teams. Pls ignore request if solution does not exists.

Many thanks!

ARM deployment fails for github deployment

During deployment operation, the creationf of the following resources fails:

  • Microsoft.Web/sites/sourcecontrols

Operation Details:

Proivisoning State: Failed
Duration: 5 minutes 7 seconds
Status: Conflict 
Status message:
{
    "status": "Failed",
    "error": {
        "code": "ResourceDeploymentFailure",
        "message": "The resource operation completed with terminal provisioning state 'Failed'."
    }
}

Edit:
Tried cloning and building the project locally. The build works fine opens the "your bot is ready" page just fine.

The deploy Button on Step 2 does not take me to deploy, what can I do to implement?

Hi Please help,

Whe I follow the deployment guide, and create the applications and the secret, all is fine.
But when I get to step 2 (please see the attached screen).
The deploy Button, that is on the configure, on Step 2, the button does not take me to deploy,
I also can not find it under the configuration App. Please assist me on what should I do to implement the Bot, organization need it?
the deployment button I have from the Guide is on this link:
https://github.com/OfficeDev/microsoft-teams-faqplusplus-app/wiki/Deployment-guide

![Deploy Button Does not Deply and I cant find it in Azure](https://user-images.githubusercontent.com/57560781/685
Deploy Botton Does not Deploy and I cant find it in Azure
27999-491bf200-02f6-11ea-8596-b2e52d7936a1.PNG)

Deploy Button Does not Deploy, and I cant find it in Azure.

Uploading Deploy Button Does not Deploy and I cant find it in Azure.PNG…

Uploading Deploy Button Does not Deploy and I cant find it in Azure.PNG…

FAQ Plus V2 Bot not responding correctly

Bot only responds with "Hello, I don't support bot commands in the Teams. Here is a quick tour of how I can help."

When clicking on the Team tour it displays the following;

  • Receive notifications from end users
  • Initiate chat with end users
  • Manage queries

Unable to publish Knowledgebase

I was able to deploy the Azure resources using the ARM template and the deployment succeeded without any errors. All resources show up and running as well. When I try to create a new Knowledgebase in the AIMaker portal, I get the error: "No Endpoint keys found".

Error attached.
error

Having Issues Creating the QnA Maker Knowledge Base-Step 4

I am having Issues creating a Knowledge Base . This is the Error Message that I get “Oops!! Something went wrong. Please try again. If this error persists, please provide details via the feedback menu.”
On Step 4, we have to create a Knowledge base, by following the Instructions listed here https://docs.microsoft.com/en-us/azure/cognitive-services/qnamaker/tutorials/create-publish-query-in-portal#create-a-knowledge-base
And I’m stuck in Step 7 under “Create a Knowledge Base”.

Any help on this matter would be greatly appreciated!

Teams link not working in Bot config App

Hi,

I encountered that the teams link ID that is provided does not work properly.

In the controler HomeControler.cs the link is parsed with an ending string of %40thread.skype or @thread.skype

but in fact the url of the team link you get has chaned to @thread.tacv2. The code shoulkd be changed.
I could mitigate from it by just using the string that is trying to pars by using @thread.skype instead of @thread.tacv2.

Expert bot side not showing list of tickets

I noticed that the bot is not registering the tickets for user to search for.

image

This is from the Expert's channel side, which I understand is where I can open and manage it, however it's not case

Connect your QnA service to you KB (Step 2)

How does one get to Connect your QnA service to you KB found in the FAQ PLUS Deployment Guide under Step 4?

To me you are missing 1-3 steps under Step 4 telling one how to get to the section for Step 2 with in your existing QnaMaker app service.

Do you open the https://contoso-qnamaker.azurewebsites.net location?
If so, how do you get to Step 2 - Connect your QnA service to your KB" from this app service page?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.