crispasr_detect_language
Identify the spoken language in an audio or video file and determine whether to route it as English, Chinese, or uncertain.
Instructions
Run language detection on a media file using CrispASR LID.
Returns the detected language and routing decision (english / chinese / uncertain). Requires a local LID model path. The firered backend is recommended.
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": {
"file_path": "<file_path>",
"lid_model": "<lid_model>"
},
"name": "crispasr_detect_language"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| lid_model | Yes | ||
| lid_backend | No | firered | |
| crispasr_bin | No | crispasr |