Skip to main content

Speech recognition

File: config/system/system-asr.json. Side: client. A missing file is read after being copied from the file of the same name under the JAR's defaults.

FieldTypeRequiredDefaultDescription
enabledBooleannofalseEnables optional voice input; Simple Voice Chat is also required.
providerStringno"aliyun-nls"aliyun-nls is built in.
appKeyStringno""AppKey of the NLS project.
accessKeyIdStringno""AccessKey ID used to request a temporary token.
accessKeySecretStringno""The matching AccessKey Secret, kept only on the client.
regionStringno"shanghai"NLS region, shanghai by default.
autoSendBooleannofalseSend immediately after successful recognition; when off, the text is placed in the input box.

These credentials and the speech usage belong only to the current client and are not synced to the server. Prefer editing them in the speech tab of /system settings; settings are marked and saved automatically after being submitted. Closing a notification, confirming early or switching the speech session cancels the corresponding narration.

Bundled default file​

config/system/system-asr.json
{
"enabled": false,
"provider": "aliyun-nls",
"appKey": "",
"accessKeyId": "",
"accessKeySecret": "",
"region": "shanghai",
"autoSend": false
}