(require("watson-speech/speech-to-text/get-models"))(options) → {Promise.<T>}
Returns a promise that resolves to an array of objects representing the available voice models. Example:
[{
"url": "https://stream.watsonplatform.net/speech-to-text/api/v1/models/en-UK_BroadbandModel",
"rate": 16000,
"name": "en-UK_BroadbandModel",
"language": "en-UK",
"description": "UK English broadband model."
},
//...
]Requires fetch, pollyfill available at https://github.com/github/fetch
Parameters:
| Name | Type | Description | ||||||
|---|---|---|---|---|---|---|---|---|
options |
Object |
Properties
|
- Source:
- To Do:
-
- define format in @return statement
Returns:
- Type
- Promise.<T>