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

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

Related

Google API Explorer deprecated for Endpoints APIs?

I have a REST API published to Google Endpoints and have been using the API Explorer to interact with it. When I accessed API Explorer this week I found this notice:
"This site is deprecated for Endpoints APIs. For exploring and testing Endpoints APIs, try the Cloud Endpoints Portal."
I can't find any other information such as when this service will be terminated. Anybody have a link or other information?
The APIs Explorer not going away so much as moving to Cloud Endpoints Portals. You still get an APIs Explorer there with all the same features, and more. It's just a newer format more specific to your API, with more detail and better navigation.
As mentioned on that page, you can try out the demo, including trying out your own API spec using the "Try your own API!" button.

On-premises usages of LUIS.ai

Can LUIS.ai be run on the edge (on-premises)? We have issues with consistent internet connectivity within our specific use-case and can't provide high QOS without an on-premises model.
Unfortunately Luis relies on several APIs and a published web app in Azure, Internet connectivity could be an issue in implementing it. A suggestion i'd provide would be to create a bot ran locally, then use the programmatic API:
LUIS provides a programmatic API that does everything that the UI at https://www.luis.ai does. This can save time when you might have a lot of preexisting data and it'd be faster to create a LUIS app programmatically than by entering information by hand.
More Documentation can be found here

How to add javascript code to google functions

I want to write a google cloud function that will respond to POST requests. I want to write it in Javascript.
I've found Google's tutorial on how to do it, but at the beginning of the tutorial it says that this is a deprecated thing, and I have to do it using Cloud Endpoints Frameworks for App Engine. However, the link they provide doesn't help.
Any ideas on how to write a javascript google cloud function?
Link to the tutorial that I've found:
https://cloud.google.com/endpoints/docs/frameworks/legacy/v1/python/getstarted/clients/js/add_javascript
The warning that's displayed at the beginning of the tutorial:
Cloud Endpoints Frameworks v1 has been deprecated and will be shut
down on August 2, 2018. We recommend that you use the latest version
of this feature, which is renamed to Cloud Endpoints Frameworks for
App Engine. This new version supports App Engine standard environment,
provides lower latency, and has better integration with App Engine.
For more details, see Migrating to 2.0.
The migration link points to https://cloud.google.com/endpoints/docs/frameworks/legacy/v1/python/migrating
There are two completely different things you're talking about here.
Google Cloud Functions is a serverless way to write functions in Javascript which respond to HTTP requests.
Google Cloud Endpoints Frameworks for App Engine is a way to write App Engine applications in Python or Java which respond to HTTP requests.
The first link you provide is about writing browser-side JavaScript code which calls an Endpoints service. The corresponding link for the Endpoints 2.0 product is here.
Depending on what you actually want to do, you should consult one or more of these links.

Do I have to pay for Google Endpoints?

I'm thinking of using the Google Endpoint service to add some simple features on my Android app. Following a tutorial on Github (https://github.com/GoogleCloudPlatform/gradle-appengine-templates/tree/master/HelloWorld) I managed to create a very simple servlet with basic code and that's all I need. But it's not clear if I'll have to pay at some point (30 days free trial?) or if I only have to pay to access to the whole platform.. Is a simple servlet on Google Endpoints completely free without restrictions?
It depends on where you are hosting your servlet. If it e.g. meets the constraints for Google App Engine's free quota you won't have to pay (as far as I know). I am in fact running such an application since quite a while now.

How to log hardware information from azure web roles/web worker?

I need to get hardware information from azure web roles / web worker to monitor it for critical conditionals like high memory/cpu usage.
I tried to use some addons which are provided in the azure gallery like the one from "logentries", but the gallery doesn't support my country yet...
Is there an other way to get the log information directly?
Last option would be Azure Diagnostics, but it stores everything in blob storages and I would have to pull everything out there on my own and send it to "manually" to logentries, geckoboard or whatever.
Three good options:
Windows Azure Diagnostics. Yes, it puts everything in table/blob storage which is painful, but there are tools such as Cerebrata's Azure Management Studio that can help gather and visualize the data.
Application Insights. This is still in preview, but it provides a very rich application monitoring and alerting platform.
The built in Azure monitoring. This is not quite as feature rich as Application Insights, but it is very easy to setup and use and includes monitoring and alerting.
I'm surprised that no one mentioned New Relic.
It has a comparable feature set to Application Insights but should be way more stable since it's not in preview like Insights. (although I am following the development of Insights closely, give it a while and it will be an awesome alternative)

Resources