Closed ShunyaWatanabe closed 4 years ago
Hi,
This does make sense. @ramya-rao-a , @kaerm this is probably something we should keep on our radar. Have we put any thought into doing additional plain JS samples?
@maggiepint The current set of cognitive services libraries are auto-generated. The sample in question is a code snippet in the readme file. We had to manually go and fix up all the samples because cognitive services has special needs when it comes to auth.
I would support maintaining 2 sets of samples for js and ts if the samples are maintained elsewhere than the readme
For now, I would say the best course of action would be to update the samples in the readme to be in javascript instead.
@joheredi
Looks like some of the cognitives services sdk readme do have the note that the sample is in Typescript, see https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/cognitiveservices/cognitiveservices-customvision-training#how-to-use
Please review the readme of all the cognitive services sdks to ensure we have the same note
@ShunyaWatanabe thanks for bringing this up!
@ramya-rao-a, just looked at the other cognitive services SDKs and Custom Vision Prediction is the only one missing the note. I have sent out a PR to fix it
I was trying to run the sample code for custom vision prediction using node but I couldn't run it. I am now assuming that the sample code on readme is written in TypeScript. If this is correct, maybe it would be nice to mention this so that the beginners won't waste time trying to figure out which language it is written in?