Use this file to discover all available pages before exploring further.
In this guide, we’ll show you how to use LLM Gateway to generate summaries of your virtual meetings. You’ll transcribe your audio and then use LLM Gateway to produce a custom summary.
The summarization, summary_model, and summary_type parameters on the transcription API are deprecated. Use LLM Gateway as shown below for more flexible and powerful summaries.
Send the transcript text to LLM Gateway with a summarization prompt.
prompt = """Provide a summary of this meeting transcript in bullet point format.Focus on the key discussion points, decisions made, and any action items."""llm_gateway_data = { "model": "claude-sonnet-4-6", "messages": [ {"role": "user", "content": f"{prompt}\n\nTranscript: {transcription_result['text']}"} ], "max_tokens": 1500}response = requests.post( "https://llm-gateway.assemblyai.com/v1/chat/completions", headers=headers, json=llm_gateway_data)result = response.json()["choices"][0]["message"]["content"]print(result)
Send the transcript text to LLM Gateway with a summarization prompt.
const prompt = `Provide a summary of this meeting transcript in bullet point format.Focus on the key discussion points, decisions made, and any action items.`;const llmGatewayData = { model: "claude-sonnet-4-6", messages: [ { role: "user", content: `${prompt}\n\nTranscript: ${transcriptionResult.text}`, }, ], max_tokens: 1500,};let res = await fetch("https://llm-gateway.assemblyai.com/v1/chat/completions", { method: "POST", headers: { ...headers, "Content-Type": "application/json" }, body: JSON.stringify(llmGatewayData),});if (!res.ok) throw new Error(`Error: ${res.status}`);const result = await res.json();console.log(result.choices[0].message.content);
The LLM Gateway returns the summary in the choices[0].message.content field. You can customize the format and style of the summary by adjusting the prompt.
You can define custom summary formats by adjusting the prompt:
prompt = """Summarize this meeting transcript using the following format:## Meeting Summary- **Key Discussion Points**: [list main topics discussed]- **Decisions Made**: [list any decisions]- **Action Items**: [list action items with owners if mentioned]- **Next Steps**: [list next steps]"""