Creates a hotword library.
Operation description
Call CreateHotwordLibrary API to create 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. It can be up to 100 characters in length. |
my_hotwords |
| Description |
string |
No |
The description of the hotword library. It can be up to 200 characters in length. |
Vocabulary library for celebrities |
| UsageScenario |
string |
Yes |
The usage scenario of the hotword library. 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. You can add up to 300 hotword entries to a single library. |
|
| Hotword |
No |
The hotword information. |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| 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.