QnA Maker service is not showing in "My knowledge Bases" - microsoft-cognitive

I am following this tutorial and made a QnA service on Azure but it is not showing in "My Knowledge Bases".

Azure QnA service just get api key and QnA API service
if you want to create Knowledge Bases pls go to https://www.qnamaker.ai/ , that will link your QnA API service on Azure in setting option .

Did you create QnAMaker service or a knowledge base.
First do this https://learn.microsoft.com/en-us/azure/cognitive-services/qnamaker/how-to/set-up-qnamaker-service-azure
And then create a knowledge base: https://learn.microsoft.com/en-us/azure/cognitive-services/qnamaker/how-to/create-knowledge-base

Azure needs some time to deploy everything. Follow the steps here:
https://learn.microsoft.com/en-us/azure/cognitive-services/qnamaker/how-to/set-up-qnamaker-service-azure
Open the deployment tab in azure and make sure it says "Your deployment is complete". If it does not: try removing the service and recreate it.
Afterwards it should become visible in the dropdown on the qnamaker.ai page.

Related

Querying Microsoft devops azure commits to display on an "update" page

I'm reworking our companies management website and would like to display any commits or updates on our devops azure page on an "update" page for admins to view.
What would be the easiest way to do this?
Thanks
You can also check out Azure devops Rest api to retrieve the git commits for a project.
GET https://dev.azure.com/{organization}/{project}/_apis/git/repositories/{repositoryId}/commits?api-version=5.1
You probably need write codes to extract and display the required properties(eg. commiter, author, url, etc.) of
commits from the results.
You can check the examples in this document to learn how to make azure devops service rest api calls.
You can also check out the .NET client library. For git Commits you can refer to GitHttpClientBase.GetCommitsAsync Method.
Hope above helps!

How to get access to the API testing console from the Azure cognitive services desktop?

I'd like to get access to the API Testing console (the one mentioned in the Quick start of the Cognitive services translation services, useful to test the API without writing a single line of code), but I don't find any direct access to on the Microsoft Azure. Thanks in advance for your help.
I think the text you mention about the console is a copy-paste error from other cognitive services quick start page.
Generally with Cognitive Services, you can find webpages which seems to be hosted under Azure API Management, where you got the basic documentation and access to a testing Console. For example for West Europe, all the services are here: https://westeurope.dev.cognitive.microsoft.com/docs/services/
And for Anomaly Detector API, you can see the link to the testing console:
Sadly, it seems that there is not equivalent for Translator API.
You still have samples on Github that you can use, in several dev languages: https://github.com/MicrosoftTranslator
Or you can directly call the API with a tool like Postman, it is really easy to implement

How to publish a chatbot to Azure from QnA knowledge base

I am creating a chatbot for my company - I have used Microsoft QnA to create a knowledge base, however I was following instructions from
https://www.meziantou.net/2017/05/16/creating-a-chat-bot-from-a-faq-with-azure-q-a-maker
https://channel9.msdn.com/Events/Connect/2017/T107
These videos/articles show a "BotService" preview. I am using the new "BotApp Service" and cannot figure out where to link up my knowledge base to my bot.
I am a true beginner to this and was encouraged by the video tutorials made with the old "BotService" - however when I have tried to do this, I've run into a wall with it already.
All I want to do is link up my current knowledgebase made in QnA to my Azure platform in order to use the bot on my website.
Thanks,
T
T, you should publish the QA Knowledge base/Q&A as a service, a step by step guide can be found here , I'd also recommend checking the QnA Maker page if you haven't already, it can be found here

Weather Forecast Web Service

I want to understand more how to get third party web services working, after looking through tutorials I have managed to get a QuoteOfTheDay(); web service working. But I do not know where to start with this one:
http://www.restfulwebservices.net/wcf/WeatherForecastService.svc?wsdl
Any tips in the right direction would be great.
Thanks.
You have to add Service Reference (right click on you project in Solution Explorer and select Add service reference). In url field input "http://www.restfulwebservices.net/wcf/WeatherForecastService.svc" and click OK. Master will generate a proxy class to this WCF service.
Then you can use this WCF service as any other web service.
As you can see in wsdl, this service provide two methods - GetCitiesByCountry and GetForecastByCity. I think it is obvious what they do.
I don't see any documentation for this WCF service. I only found small sample for Java. It invokes GetCitiesByCountry method:
http://doc.nuxeo.com/display/NXDOC/Building+a+SOAP-based+WebService+client+in+Nuxeo

Google Apps (for business) OpenID login for ASP.NET intranet site

My company uses Google Apps for our e-mail/business app provider. Every employee has an account here.
I'm looking into creating an asp.net web app that would allow users to sign-in (using their Google Apps account) and then accomplish certain things (first goal: keep a current record of the employee's skillset).
Before I get started, I wanted to find out if an OpenID login system using Google Apps is any more difficult than doing it the standard way, or if I need to be aware of any pitfalls.
We have one domain, and the only requirement would be that the user has an open account that exists.
Thanks in advance for your thoughts on this!
I have slides for you from a talk I gave a month ago: Google Apps Account As OpenID
http://www.slideshare.net/timdream/google-apps-account-as-openid
Basically there are two ways of doing this.
Follow the Google documentation, patch your ASP.net OpenID library to accept Google Apps OpenID that is not really discoverable from the claimed URL.
Install a set of discovery information on the claimed URL (/openid?id=XXXX on your website) to make your Google Apps OpenID behaviors the same way present OpenIDs do.
Either way, after completion user will be able to login to your ASP.net app with following URL:
https://www.google.com/accounts/o8/site-xrds?hd=[yourappsdomain]
My solution to this issue was to use the DotNetOpenAuth library -- I was unaware that the latest version has Google Apps support.
Highly recommend the product -- you can find it here.
I modified one of the example files and was up and running in no time.
Thanks to all who answered!

Resources