|
Parameter |
Type |
Description |
Example |
|---|---|---|---|
|
object |
The agent template parameters. |
||
| AvatarChat3D |
object |
The 3D digital human parameters. |
|
| AsrMaxSilence |
integer |
The speech segmentation detection threshold. Silence that exceeds this threshold is treated as a sentence break. Valid values: 200 to 1200. Unit: milliseconds. Default value: 400. |
400 |
| AvatarId |
string |
The ID of the digital human model. |
1231 |
| EnableIntelligentSegment |
boolean |
Specifies whether to enable intelligent segmentation. After this feature is enabled, sentence breaks in user speech are intelligently merged into a single sentence. Default value: true. |
true |
| EnablePushToTalk |
boolean |
Specifies whether to enable the push-to-talk mode. Default value: false. |
false |
| EnableVoiceInterrupt |
boolean |
Specifies whether to support voice interruption. Default value: true. |
true |
| GracefulShutdown |
boolean |
Specifies whether to enable graceful shutdown. Default value: false.
|
false |
| Greeting |
string |
The greeting message, which takes effect when joining the session. If left empty, the greeting configured in the agent template is used. Maximum length: 128 characters. |
Good morning, my friend! |
| UseVoiceprint |
boolean |
Specifies whether to enable voiceprint recognition. Default value: false. |
false |
| UserOnlineTimeout |
integer |
The timeout period for the agent to close the task if the user does not join the session. Unit: seconds. Default value: 60. |
60 |
| VoiceId |
string |
The voice ID, which takes effect on the next sentence after modification. If left empty, the voice ID configured in the agent template is used. This parameter applies only to preset TTS. Maximum length: 64 characters. For valid values, refer to Intelligent speech effect examples. |
zhixiaoxia |
| Volume |
integer |
The volume of the agent's speech.
|
100 |
| VoiceprintId |
string |
The unique identity ID for voiceprint recognition. Default value: none. |
uniqueId |
| BailianAppParams |
string |
The parameters for Alibaba Cloud Model Studio Application Center. For the parameter format, refer to Alibaba Cloud Model Studio Application Center parameters. |
{} |
| UserOfflineTimeout |
integer |
The timeout period for the agent to close the task after the user leaves the session. Unit: seconds. Default value: 5. |
5 |
| MaxIdleTime |
integer |
The maximum waiting time without interaction with the agent. If this timeout is reached, the agent goes offline. Unit: seconds. Default value: 600. |
600 |
| WorkflowOverrideParams |
string |
The workflow override parameters. Default value: none. |
{} |
| WakeUpQuery |
string |
The user instruction before the call starts, which is used for the agent to respond immediately after the call starts. |
How’s the weather today? |
| LlmHistory |
array |
The maximum number of retained rounds for the LLM or MLLM historical conversation context. Default value: 10. |
|
|
object |
|||
| Role |
string |
The role of the conversation participant. Valid values:
|
user |
| Content |
string |
The actual text of the conversation content, which records the specific expression or response of the role in the conversation. |
hello |
| LlmHistoryLimit |
integer |
The maximum number of retained rounds for the LLM or MLLM historical conversation context. Default value: 10. |
10 |
| VoiceIdList |
array |
The list of available voices. |
|
|
string |
The voice. |
zhixiaoxia |
|
| AsrLanguageId |
string |
The ASR language ID. Valid values:
|
zh_mandarin |
| LlmSystemPrompt |
string |
The system prompt for the LLM after the call starts. |
You are a friendly and helpful assistant, focused on providing users with accurate information and advice. |
| InterruptWords |
array |
The list of specific words or phrases that trigger conversation interruption. |
|
|
string |
The specific word or phrase that triggers conversation interruption. |
stop |
|
| VadLevel |
integer |
The interruption threshold parameter. Valid values: 0 to 11. Default value: 11.
|
0 |
| CharBreak |
boolean |
Specifies whether to enable the single-character interruption filtering policy. Default value: |
true |
| AsrHotWords |
array |
The ASR hot word list. The hot word list supports a maximum of 128 words. |
|
|
string |
The hot word string. Length: 1 to 10 characters. |
check |
|
| VisionChat |
object |
The visual agent parameters. |
|
| AsrMaxSilence |
integer |
The speech segmentation detection threshold. Silence that exceeds this threshold is treated as a sentence break. Valid values: 200 to 1200. Unit: milliseconds. Default value: 400. |
400 |
| EnableIntelligentSegment |
boolean |
Specifies whether to enable intelligent segmentation. After this feature is enabled, sentence breaks in user speech are intelligently merged into a single sentence. Default value: true. |
true |
| EnablePushToTalk |
boolean |
Specifies whether to enable the push-to-talk mode. Default value: false. |
false |
| EnableVoiceInterrupt |
boolean |
Specifies whether to support voice interruption. Default value: true. |
true |
| GracefulShutdown |
boolean |
Specifies whether to enable graceful shutdown. Default value: false. Graceful shutdown: When the agent is stopped, it finishes broadcasting the current speech before stopping, with a maximum broadcast time of 10 seconds. |
false |
| Greeting |
string |
The greeting message, which takes effect when joining the session. If left empty, the greeting configured in the agent template is used. Maximum length: 128 characters. |
Good morning, my friend! |
| UseVoiceprint |
boolean |
Specifies whether to enable voiceprint recognition. Default value: false. |
false |
| UserOnlineTimeout |
integer |
The timeout period for the agent to close the task if the user does not join the session. Unit: seconds. Default value: 60. |
60 |
| VoiceId |
string |
The voice ID, which takes effect on the next sentence after modification. If left empty, the voice ID configured in the agent template is used. This parameter applies only to preset TTS. Maximum length: 64 characters. For valid values, refer to Intelligent speech effect examples. |
zhixiaoxia |
| Volume |
integer |
The volume of the agent's speech. If left empty: The adaptive volume mode recommended by Alibaba Cloud is used by default. If specified: Valid values are 0 to 400. Output volume = Speech output volume in the workflow × volume / 100. Examples: If volume is set to 0, the output volume is 0. If volume is set to 100, the output volume is the original volume. If volume is set to 200, the output volume is twice the original volume. |
100 |
| VoiceprintId |
string |
The unique identity ID for voiceprint recognition. Default value: none. |
uniqueId |
| BailianAppParams |
string |
The parameters for Alibaba Cloud Model Studio Application Center. For the parameter format, refer to Alibaba Cloud Model Studio Application Center parameters. |
{} |
| UserOfflineTimeout |
integer |
The timeout period for the agent to close the task after the user leaves the session. Unit: seconds. Default value: 5. |
5 |
| MaxIdleTime |
integer |
The maximum waiting time without interaction with the agent. If this timeout is reached, the agent goes offline. Unit: seconds. Default value: 600. |
600 |
| WorkflowOverrideParams |
string |
The workflow override parameters. Default value: none. |
{} |
| WakeUpQuery |
string |
The user instruction before the call starts, which is used for the agent to respond immediately after the call starts. |
How’s the weather today? |
| LlmHistory |
array |
The maximum number of retained rounds for the LLM or MLLM historical conversation context. Default value: 10. |
|
|
object |
|||
| Role |
string |
The role of the conversation participant. Valid values:
|
user |
| Content |
string |
The actual text of the conversation content, which records the specific expression or response of the role in the conversation. |
hello |
| LlmHistoryLimit |
integer |
The maximum number of retained rounds for the LLM or MLLM historical conversation context. Default value: 10. |
10 |
| VoiceIdList |
array |
The list of available voices. |
|
|
string |
The voice. |
zhixiaoxia |
|
| AsrLanguageId |
string |
The ASR language ID. Valid values:
|
zh_mandarin |
| LlmSystemPrompt |
string |
The system prompt for the LLM after the call starts. |
You are a friendly and helpful assistant, focused on providing users with accurate information and advice. |
| InterruptWords |
array |
The list of specific words or phrases that trigger conversation interruption. |
|
|
string |
The specific word or phrase that triggers conversation interruption. |
stop |
|
| VadLevel |
integer |
The interruption threshold parameter. Valid values: 0 to 11. Default value: 11.
|
0 |
| CharBreak |
boolean |
Specifies whether to enable the single-character interruption filtering policy. Default value: |
true |
| AsrHotWords |
array |
The ASR hot word list. The hot word list supports a maximum of 128 words. |
|
|
string |
The hot word string. Length: 1 to 10 characters. |
check |
|
| VoiceChat |
object |
The voice call parameters. |
|
| AsrMaxSilence |
integer |
The speech segmentation detection threshold. Silence that exceeds this threshold is treated as a sentence break. Valid values: 200 to 1200. Unit: milliseconds. Default value: 400. |
400 |
| EnableIntelligentSegment |
boolean |
Specifies whether to enable intelligent segmentation. After this feature is enabled, sentence breaks in user speech are intelligently merged into a single sentence. Default value: true. |
true |
| EnablePushToTalk |
boolean |
Specifies whether to enable the push-to-talk mode. Default value: false. |
false |
| EnableVoiceInterrupt |
boolean |
Specifies whether to support voice interruption. Default value: true. |
true |
| GracefulShutdown |
boolean |
Specifies whether to enable graceful shutdown. Default value: false.
|
false |
| Greeting |
string |
The greeting message, which takes effect when joining the session. If left empty, the greeting configured in the agent template is used. Maximum length: 128 characters. |
Good morning, my friend |
| UseVoiceprint |
boolean |
Specifies whether to enable voiceprint recognition. Default value: false. |
false |
| UserOnlineTimeout |
integer |
The timeout period for the agent to close the task if the user does not join the session. Unit: seconds. Default value: 60. |
60 |
| VoiceId |
string |
The voice ID, which takes effect on the next sentence after modification. If left empty, the voice ID configured in the agent template is used. This parameter applies only to preset TTS. Maximum length: 64 characters. For valid values, refer to Intelligent speech effect examples. |
zhixiaoxia |
| Volume |
integer |
The volume of the agent's speech.
|
100 |
| VoiceprintId |
string |
The unique identity ID for voiceprint recognition. Default value: none. |
uniqueId |
| BailianAppParams |
string |
The parameters for Alibaba Cloud Model Studio Application Center. For the parameter format, refer to Alibaba Cloud Model Studio Application Center parameters. |
{} |
| UserOfflineTimeout |
integer |
The timeout period for the agent to close the task after the user leaves the session. Unit: seconds. Default value: 5. |
5 |
| AvatarUrl |
string |
The avatar URL of the agent for voice calls. Default value: none. |
http://example.com/a.jpg |
| AvatarUrlType |
string |
The type of the avatar URL for the agent. Default value: none. |
USER |
| MaxIdleTime |
integer |
The maximum waiting time without interaction with the agent. If this timeout is reached, the agent goes offline. Unit: seconds. Default value: 600. |
600 |
| WorkflowOverrideParams |
string |
The workflow override parameters. Default value: none. |
{} |
| WakeUpQuery |
string |
The user instruction before the call starts, which is used for the agent to respond immediately after the call starts. |
How’s the weather today? |
| LlmHistory |
array |
The historical conversation context of the LLM or MLLM. |
|
|
object |
|||
| Role |
string |
The role of the conversation participant. Valid values:
|
user |
| Content |
string |
The actual text of the conversation content, which records the specific expression or response of the role in the conversation. |
hello |
| LlmHistoryLimit |
integer |
The maximum number of retained rounds for the LLM or MLLM historical conversation context. Default value: 10. |
10 |
| VoiceIdList |
array |
The list of available voices. |
|
|
string |
The voice. |
zhixiaoxia |
|
| AsrLanguageId |
string |
The ASR language ID. Valid values:
|
zh_mandarin |
| LlmSystemPrompt |
string |
The system prompt for the LLM after the call starts. |
You are a friendly and helpful assistant, focused on providing users with accurate information and advice. |
| InterruptWords |
array |
The list of specific words or phrases that trigger conversation interruption. |
|
|
string |
The specific word or phrase that triggers conversation interruption. |
stop |
|
| VadLevel |
integer |
The interruption threshold parameter. Valid values: 0 to 11. Default value: 11.
|
11 |
| CharBreak |
boolean |
Specifies whether to enable the single-character interruption filtering policy. Default value: |
true |
| AsrHotWords |
array |
The ASR hot word list. The hot word list supports a maximum of 128 words. |
|
|
string |
The hot word string. Length: 1 to 10 characters. |
check |
AIAgentTemplateConfig
Updated at:
Is this page helpful?