sis__RecognizeFlashAsr
Recognize OBS-hosted audio files synchronously and convert speech to text for files up to 100 MB and 30 minutes.
Instructions
[SIS] 极速版ASR(Restful API 接口, 适用于音频(文件大小<=100M,语音时长<=30分钟)文件的同步识别。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"audio_format": "<audio_format>",
"obs_bucket_name": "<obs_bucket_name>",
"obs_object_key": "<obs_object_key>",
"project_id": "<project_id>",
"property": "<property>"
},
"name": "sis__RecognizeFlashAsr"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| add_punc | No | 是否加标点, 可以为 yes, 默认no | no |
| property | Yes | 所使用的模型特征串。通常是 “语种_采样率_领域”的形式。 | chinese_8k_common |
| digit_norm | No | 是否将音频中的数字使用阿拉伯数字的形式呈现,取值为yes,no,默认为yes | yes |
| project_id | Yes | 华为云用户的Project ID,用于资源隔离。 | |
| audio_format | Yes | 音频格式,audio_format取值范围: | wav |
| vocabulary_id | No | 热词表id | |
| need_word_info | No | 表示是否在识别结果中输出分词结果信息,取值为yes,no,默认no | no |
| obs_object_key | Yes | obs对象key,经过urlencode编码,长度不超过1024个字符 | |
| obs_bucket_name | Yes | obs桶名 | |
| first_channel_only | No | 表示是否在识别中只识别首个声道的音频数据,取值为“yes”和“no”,默认为“no”。 | no |