You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -116,16 +111,14 @@ Call the `Join` method to create a conversational agent, using Bytedance TTS as
116
111
GreetingMessage: "Hello, how can I help you?",
117
112
},
118
113
TTS: &req.JoinPropertiesTTSBody{
119
-
Vendor: req.BytedanceTTSVendor,
120
-
Params: &req.TTSBytedanceVendorParams{
121
-
Token: ttsBytedanceToken,
122
-
AppId: ttsBytedanceAppId,
123
-
Cluster: ttsBytedanceCluster,
124
-
VoiceType: ttsBytedanceVoiceType,
125
-
SpeedRatio: 1.0,
126
-
VolumeRatio: 1.0,
127
-
PitchRatio: 1.0,
128
-
Emotion: "happy",
114
+
Vendor: req.MicrosoftTTSVendor,
115
+
Params: &req.TTSMicrosoftVendorParams{
116
+
Key: ttsMicrosoftKey,
117
+
Region: ttsMicrosoftRegion,
118
+
VoiceName: ttsMicrosoftVoiceName,
119
+
Speed: 1.0,
120
+
Volume: 70,
121
+
SampleRate: 24000,
129
122
},
130
123
},
131
124
})
@@ -146,7 +139,8 @@ Call the `Join` method to create a conversational agent, using Bytedance TTS as
146
139
> Stop the conversational agent and leave the RTC channel.
147
140
148
141
Parameters to set:
149
-
- AgentId returned by the `Join` interface
142
+
143
+
- AgentId returned by the `Join` interface
150
144
151
145
```go
152
146
// Leave agent
@@ -167,8 +161,9 @@ Parameters to set:
167
161
> Currently, only the Token information of a running conversational agent can be updated.
168
162
169
163
Parameters to set:
170
-
- AgentId returned by the `Join` interface
171
-
- Token to be updated
164
+
165
+
- AgentId returned by the `Join` interface
166
+
- Token to be updated
172
167
173
168
```go
174
169
// Update agent
@@ -191,7 +186,8 @@ Parameters to set:
191
186
> Query the status of the conversational agent.
192
187
193
188
Parameters to set:
194
-
- AgentId returned by the `Join` interface
189
+
190
+
- AgentId returned by the `Join` interface
195
191
196
192
```go
197
193
// Query agent
@@ -208,13 +204,13 @@ Parameters to set:
208
204
}
209
205
```
210
206
211
-
212
207
## Retrieves a list of agents
213
208
214
209
> Retrieves a list of agents that meet the specified criteria.
215
210
216
211
Parameters to set:
217
-
- AgentId returned by the `Join` interface
212
+
213
+
- AgentId returned by the `Join` interface
218
214
219
215
```go
220
216
// List agent
@@ -234,4 +230,5 @@ Parameters to set:
234
230
```
235
231
236
232
## Error Codes and Response Status Codes Handling
233
+
237
234
For specific business response codes, please refer to the [Business Response Codes](https://docs.agora.io/en/conversational-ai/rest-api/reference) documentation.
0 commit comments