Creates a hotword library.
Operation description
Calls the CreateHotwordLibrary operation to create a hotword library.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ice:CreateHotwordLibrary |
create |
*All Resource
|
None | None |
Request syntax
GET HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Name |
string |
Yes |
The name of the hotword library. Maximum length: 100 characters. |
my_hotwords |
| Description |
string |
No |
The description of the hotword library. Maximum length: 200 characters. |
Vocabulary library for celebrities |
| UsageScenario |
string |
Yes |
The usage scenario. Valid values: · ASR: automatic speech recognition · StructuredMediaAssets: structured media analysis · VideoTranslation: video translation This field cannot be modified after the hotword library is created. |
ASR |
| Hotwords |
array |
Yes |
The hotword list. A single library supports up to 300 entries. |
|
| Hotword |
No |
The hotword information. |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The ID of the request. |
13cbb83e-043c-4728-ac35-***** |
| HotwordLibraryId |
string |
The ID of the hotword library. |
****96e8864746a0b6f3**** |
Examples
Success response
JSON format
{
"RequestId": "13cbb83e-043c-4728-ac35-*****",
"HotwordLibraryId": "****96e8864746a0b6f3****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.