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
@doc("The `calling.live_transcribe` command is used to control live transcription on an active call.")
205
+
@example("calling.live_transcribe")
206
+
command:"calling.live_transcribe";
207
+
208
+
@doc(paramsDescription)
209
+
params: {
210
+
@doc("The transcription action to perform: start, stop, or summarize.")
211
+
action:LiveTranscribeAction;
212
+
};
213
+
}
214
+
215
+
// ============================================
216
+
// Live Translate Commands
217
+
// ============================================
218
+
219
+
@summary("Filter Presets")
220
+
@doc("""
221
+
Preset translation filter values that adjust the tone or style of translated speech.
222
+
223
+
- `polite` - Translates to a polite version, removing anything insulting while maintaining sentiment
224
+
- `rude` - Translates to a rude and insulting version while maintaining sentiment
225
+
- `professional` - Translates to sound professional, removing slang or lingo
226
+
- `shakespeare` - Translates to sound like Shakespeare, speaking in iambic pentameter
227
+
- `gen-z` - Translates to use Gen-Z slang and expressions
228
+
""")
229
+
enumTranslationFilterPreset {
230
+
polite,
231
+
rude,
232
+
professional,
233
+
shakespeare,
234
+
`gen-z`,
235
+
}
236
+
237
+
@summary("Custom Filter")
238
+
@doc("Custom translation filter with a prompt prefix. Use `prompt:` followed by your custom instructions (e.g., `prompt:Use formal business language`).")
@doc("The `calling.live_translate` command is used to control live translation on an active call.")
357
+
@example("calling.live_translate")
358
+
command:"calling.live_translate";
359
+
360
+
@doc(paramsDescription)
361
+
params: {
362
+
@doc("The translation action to perform: start, stop, summarize, or inject.")
363
+
action:LiveTranslateAction;
364
+
};
365
+
}
366
+
118
367
@summary("Create call")
119
368
modelCallCreateRequest {
120
369
@doc("The `dial` command is used to create a new call.")
@@ -234,6 +483,10 @@ Call request union for JSON-RPC style method dispatch. Use the `command` field t
234
483
- **`calling.ai_unhold`** - Resume an AI call from hold state. Reactivates the AI agent and continues the conversation from where it was paused.
235
484
236
485
- **`calling.ai_message`** - Inject a message into an active AI conversation. Allows you to dynamically add context, instructions, or system messages to guide the AI agent's behavior during the call.
486
+
487
+
- **`calling.live_transcribe`** - Control live transcription on an active call. Start real-time speech-to-text transcription, stop transcription, or request an on-demand AI summary of the conversation.
488
+
489
+
- **`calling.live_translate`** - Control live translation on an active call. Start real-time language translation between call participants, stop translation, request summaries, or inject messages to be translated and spoken.
0 commit comments