live_translate.action
This page provides an overview of all valid actions for the live_translate SWML method.
The live_translate method requires exactly oneOf
the below action items. If more than one (or none) is provided, the action will fail.
| Name | Type | Default | Description |
|---|---|---|---|
action Required | string | object | - | The action to be performed. An object that contains one of the live_translate actionsPossible Values: [ stop, start, summarize, inject ] |
Actions
Action oneOf | Type | Default | Description |
|---|---|---|---|
stop Required | stop | - | Stops the live translation session. |
start Required | object | - | Starts a live translation session. |
summarize Required | object | - | Summarizes the conversation. |
inject Required | object | - | Injects a message into the conversation. |