action.summarize
Request an on-demand AI summary of the conversation while transcription is still active.
This action is designed for use on active calls that have an existing transcription session running.
You can send this action via the Call Commands REST API,
or include it in a SWML section executed via transfer or execute during a call.
If you want automatic summarization when the session ends instead, use ai_summary: true in the start action.
An object that contains the summarize parameters.
summarize Parameters
The webhook URI to be called. Authentication can also be set in the url in the format of username:password@url.
The AI prompt that instructs the AI model how to summarize the conversation. This guides the style and content of the generated summary.
Example: "Provide a bullet-point summary of the main topics discussed."
Object Example
- YAML
- JSON
live_transcribe:
action:
summarize:
webhook: 'https://example.com/webhook'
prompt: Summarize the key points of this conversation.
{
"live_transcribe": {
"action": {
"summarize": {
"webhook": "https://example.com/webhook",
"prompt": "Summarize the key points of this conversation."
}
}
}
}
Default Summarization
If the summarize action is called with a empty object, the default summarization prompt and webhook will be used.
- YAML
- JSON
live_transcribe:
action:
summarize: {}
{
"live_transcribe": {
"action": {
"summarize": {}
}
}
}