AiPlannerVoiceDef
Represents a voice definition for an Agentforce voice agent. It stores the speech-to-text and text-to-speech configuration settings used during voice interactions, including model selection, voice persona, and audio synthesis parameters.
Parent Type
This type extends the Metadata metadata type and inherits its fullName field.
File Suffix and Directory Location
AiPlannerVoiceDef components have the suffix .aiPlannerVoiceDef and are stored in the aiPlannerVoiceDef folder.
Version
AiPlannerVoiceDef components are available in API version 63.0 and later.
Special Access Rules
AiPlannerVoiceDef is available only if Agents and Agentforce Voice are enabled in your org.
Fields
| Field Name | Description |
|---|---|
| additionalConfigs |
|
| developerName |
|
| inboundFillerWordsBool |
|
| inboundKeywords |
|
| inboundModel |
|
| label |
|
| languageCode |
|
| outboundFillerSentences |
|
| outboundModel |
|
| outboundSimilarity |
|
| outboundSpeedNum |
|
| outboundStability |
|
| outboundStyleExaggeration |
|
| outboundVoice |
|
| pronunciationDict |
|
| voiceIdentifier |
|
Declarative Metadata Sample Definition
The following is an example of an AiPlannerVoiceDef component.
1<?xml version="1.0" encoding="UTF-8"?>
2<GenAiPlannerBundle xmlns="http://soap.sforce.com/2006/04/metadata">
3 <description>This agent is either testing you, or you're testing it.</description>
4 <masterLabel>My Test Agent</masterLabel>
5 <plannerType>AiCopilot__ReAct</plannerType>
6 <voiceDefinition>
7 <developerName>dev2Automation</developerName>
8 <inboundFillerWordsBool>false</inboundFillerWordsBool>
9 <inboundKeywords>key2</inboundKeywords>
10 <inboundModel>sfdc_ai__DefaultOpenAIGPT35Turbo</inboundModel>
11 <label>label2</label>
12 <outboundFillerSentences>test2</outboundFillerSentences>
13 <outboundModel>sfdc_ai__DefaultOpenAIGPT35Turbo</outboundModel>
14 <outboundSimilarity>0.8</outboundSimilarity>
15 <outboundSpeedNum>1.2</outboundSpeedNum>
16 <outboundStability>0.5</outboundStability>
17 <outboundStyleExaggeration>1.8</outboundStyleExaggeration>
18 <outboundVoice>test2</outboundVoice>
19
20 </voiceDefinition>
21</GenAiPlannerBundle>The following is an example package.xml that references the previous definition.
1<?xml version="1.0" encoding="UTF-8"?>
2<Package xmlns="http://soap.sforce.com/2006/04/metadata">
3 <types>
4 <members>*</members>
5 <name>GenAiPlannerBundle</name>
6 </types>
7 <version>63.0</version>
8</Package>