In this video, make the necessary code changes to get a list of supported languages.
- [Instructor] At this point I have a Node.js project…that I can debug, write TypeScript in,…and I have registered the translate text API…in my Azure portal, and copied over these keys…and this end point.…Now let's start making use of it in the index.ts file.…Okay, so one thing I'm going to do here,…is I'm going to create a helper function.…The reason I'm doing that,…is because there's something…that I'll do over and over again,…which is to return something called as request options.…
Remember in our package.json file,…I had included a reference to the request object.…Well, we'll be making use of that now.…So let's go ahead and import that,…so I'll say import, star,…as request from request,…so let's go ahead and import that.…And here I'm going to create a function…called get request options,…and basically return request options.…
Request options is something that we'll be using…to specify things in our request,…as in what are the headers, what is the body, et cetera.…And one of the things that I'll need to do…over and over and over again, is specify…
- Using the Translate Text API
- Getting supported languages
- Writing code to translate between languages
- Performing text to speech
- Setting up speech to text
- Writing code for speaker identification
Skill Level Advanced
Creating Bots with the Microsoft Bot Framework, Part 1with Scott Peterson45m 41s Intermediate
Learning Microsoft Cognitive Services for Developerswith Sahil Malik1h 42m Intermediate
1. The Basics
2. Translation Text API
3. Bing Speech API
4. Speaker Recognition API
Next steps1m 9s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.