Voice Service is used to configure the voice input capability for agent chats. After super administrators enable voice input and complete the configuration, users can ask questions via voice input during agent chats. The system will recognize the speech as text, reducing manual typing.
Data Agent Version
Description
V1.7
/
(1) Access environment: Data Agent must be accessed via HTTPS. In an HTTP environment, the voice service will not take effect even if it is configured.
(2) Service preparation: A supported speech recognition service has been activated, with the corresponding API URL, key, or app credential prepared.
(3) Microphone permission: During voice input, the browser must be allowed to access the microphone, and the microphone must work properly.
Log in to Data Agent as a super administrator, choose Admin Console > System Settings > Voice Service, and toggle on the Voice Input for Chats switch.
Based on the activated service, select a method from Speech Recognition Method and configure the following items:
Speech Recognition Method
Recommended Vendor or Service
Required Information
Voice Model
Alibaba Cloud Bailian (Select the qwen-audio-3.1-asr-flash-streaming model.)
Endpoint, API key, and model name
Voice Service Vendor
Feishu streaming speech recognition service
API URL, app ID, and app secret
When setting Speech Recognition Method to Voice Model, you are advised to use Alibaba Cloud Bailian. The steps are as follows:
(1) Enable the invocation permissions for the required model in the Bailian console, and obtain the service access URL and API key for the corresponding region.
(2) Set mandatory parameters according to the following table.
(3) Click Test Connection and Save to check whether the voice model can be connected successfully based on the current configuration.
Parameter
Configuration Description
Endpoint
Enter the real-time speech recognition access URL corresponding to the selected Bailian service.
Obtain the complete URL based on the vendor's documentation and account region. Do not enter the console webpage URL, nor directly copy the truncated URL from the screenshot above.
API Key
Enter the Bailian API key with invocation permissions for the selected model, and ensure that the key matches the service region.
Model Name
You can select the model via Auto Get, or switch to Manually Enter and enter the complete model name.
When setting Speech Recognition Method to Voice Service Vendor, you are advised to use the Feishu streaming speech recognition service. The steps are as follows:
(1) Prepare an app that can invoke the streaming speech recognition API on the Feishu Open Platform, confirm the required invocation permissions, and obtain the app ID and app secret.
API URL
Enter the official Feishu streaming speech recognition API URL adapted to Data Agent.
App ID
Enter the app ID of the Feishu app.
App Secret
Enter the app secret of the same Feishu app.
After the configuration is saved, enter an agent chat in an HTTPS environment, allow the browser to use the microphone, and record your question via the voice input entry in the chat.
(1) Why is voice input still unavailable after the configuration has been completed?
First, check whether Data Agent is accessed via HTTPS. If "The voice service supports only HTTPS environments. You are in the HTTP environment now, so the configuration cannot take effect." is displayed on the page, contact the platform O&M personnel to configure HTTPS, and try to access Data Agent again using the HTTPS URL.
Also, check whether Voice Input for Chats is enabled, whether the configuration has been saved successfully, and whether the browser has the microphone permission.
(2) What should I do if the model name is not in the auto-obtained model list?
You can switch to Manually Enter and enter the complete model name recommended in this document. Ensure that the account has invocation permissions for this model first, then test the connection, and verify the actual recording effect.
(1) The API key and app secret are sensitive credentials. Do not leak them through ways such as public documents and chat screenshots.