Meeting Summaries with Amazon Transcribe and Amazon Bedrock
Learn how to turn meeting recordings into summaries with Amazon Transcribe and Amazon Bedrock. Run a transcription job with speaker labels, rebuild the conversation, generate notes with decisions and action items, and handle accuracy and privacy.
Series: Amazon Bedrock (18 articles)
- …
- 14Meeting Summaries with Amazon Transcribe and Amazon Bedrock This article
Turn a recording into a transcript with speaker labels, then into a summary with decisions and action items, and know where this goes wrong.
Meetings produce decisions that live only in people's memories. A written summary fixes that, but nobody wants to write one. Amazon Transcribe can turn a recording into text, and Amazon Bedrock can turn that text into a short, structured summary.
In this article we'll build that pipeline: upload audio to S3, run a transcription job with speaker labels, rebuild the conversation as readable turns, and have a model produce a summary, decisions and action items. We'll also deal with long meetings, accuracy and the privacy questions that recordings raise.
What you need
- The setup from the earlier articles: Python, boto3 and an S3 bucket in your chosen Region
- A short audio or video recording you have the right to use, such as a test conversation you recorded yourself with a colleague's permission. Start with five to ten minutes.
- Access to a Bedrock text model, with its ID from the model's documentation
- About an hour
Recordings of people talking raise real privacy and legal questions. Read the section on that before you use a real meeting.
How it fits together
- Upload the recording to S3.
- Transcribe it with Amazon Transcribe, with speaker labels turned on.
- Rebuild the transcript as turns: who said what.
- Summarise with Bedrock, using a prompt that asks for a summary, decisions, action items and open questions.
- Review before anyone relies on it or shares it.
Step 1: Upload the recording
aws s3 cp ./test-meeting.mp3 s3://my-ai-project-dev/raw/meetings/test-meeting.mp3Transcribe works with common audio and video formats, including MP3, MP4, WAV, FLAC and others. Check the current documentation for the full list of supported formats and file size and length limits.
Step 2: Start a transcription job
Transcription is asynchronous. You start a job, wait for it and then collect the result from S3.
import timeimport boto3
REGION = "us-east-1"BUCKET = "my-ai-project-dev"JOB_NAME = "test-meeting-001" # must be unique within your account and RegionMEDIA_KEY = "raw/meetings/test-meeting.mp3"
transcribe = boto3.client("transcribe", region_name=REGION)
transcribe.start_transcription_job( TranscriptionJobName=JOB_NAME, Media={"MediaFileUri": f"s3://{BUCKET}/{MEDIA_KEY}"}, LanguageCode="en-US", OutputBucketName=BUCKET, OutputKey=f"processed/transcripts/{JOB_NAME}.json", Settings={ "ShowSpeakerLabels": True, "MaxSpeakerLabels": 4, },)
while True: job = transcribe.get_transcription_job(TranscriptionJobName=JOB_NAME) status = job["TranscriptionJob"]["TranscriptionJobStatus"] if status in ("COMPLETED", "FAILED"): break print("Waiting...") time.sleep(10)
print(status)The settings that matter:
-
LanguageCodemust match what's spoken. Transcribe can also identify the language automatically, which is handy if you don't know it in advance. Check the documentation for the options.
-
ShowSpeakerLabelsturns on speaker partitioning, also called diarization. Transcribe tags the words with labels such asspk_0andspk_1.
-
MaxSpeakerLabelsis the maximum number of speakers to look for. Set it to the number you expect, and not far above it. The documentation lists the upper limit.
-
OutputBucketNameandOutputKeysay where the transcript JSON is written. Without them, Transcribe stores it in a service-managed location and gives you a temporary link.
The job's output is written to your bucket, so Transcribe needs permission to read your recording and write the result there. If the job fails,
get_transcription_job includes a failure reason. Print it.A polling loop is fine for a test. In a real system, don't wait in a loop. Transcribe publishes job status changes as events, so you can have EventBridge start the next step when a job finishes, as in the EventBridge and Step Functions article.
Step 3: Read the transcript
The result is a JSON file. Download it and look at the structure:
import json
s3 = boto3.client("s3", region_name=REGION)obj = s3.get_object(Bucket=BUCKET, Key=f"processed/transcripts/{JOB_NAME}.json")data = json.loads(obj["Body"].read())
print(data["results"]["transcripts"][0]["transcript"][:300])The
transcripts entry holds the whole conversation as one block of text, with no speaker information. The speaker labels are separate, in results.speaker_labels.segments , and the individual words with their timings are in results.items .Step 4: Rebuild the conversation as turns
A summary is much better when the model can see who said what. This function matches the speaker segments to the words by their start times and builds a list of turns:
def to_turns(data): results = data["results"]
words = {} for item in results["items"]: if item["type"] == "pronunciation": words[item["start_time"]] = item["alternatives"][0]["content"]
turns = [] for segment in results["speaker_labels"]["segments"]: text = " ".join(words.get(i["start_time"], "") for i in segment["items"]).strip() if not text: continue speaker = segment["speaker_label"] if turns and turns[-1][0] == speaker: turns[-1] = (speaker, turns[-1][1] + " " + text) # merge consecutive turns else: turns.append((speaker, text)) return turns
transcript_text = "\n".join(f"{speaker}: {text}" for speaker, text in to_turns(data))print(transcript_text[:500])This version keeps the words but drops the punctuation, which is fine for summarising. If you want a polished transcript for people to read, you'd add the punctuation back from the full items list. Check this against your own output, because the exact structure can vary with the settings you use.
The labels are anonymous:
spk_0 , spk_1 . Transcribe doesn't know who's who. Either have someone map the labels to names, or tell the model in your prompt who the speakers are, for example "spk_0 is Priya, the project manager."Step 5: Summarise with Bedrock
Now the model. The prompt matters here, because it decides how much the model invents.
bedrock = boto3.client("bedrock-runtime", region_name=REGION)MODEL_ID = "YOUR_MODEL_ID"
def summarise(transcript_text, speakers=""): prompt = ( "Below is a transcript of a meeting. Speaker labels like spk_0 are anonymous.\n" f"{speakers}\n\n" "Write meeting notes using only what is in the transcript. Do not add " "anything that was not said. Use these sections:\n" "1. Summary: three to five sentences.\n" "2. Decisions: a bullet list. Write 'None stated' if there were none.\n" "3. Action items: a bullet list of what, who and by when. Write 'not stated' " "for any part that was not said. Do not guess owners or dates.\n" "4. Open questions: anything raised but not resolved.\n\n" f"<transcript>\n{transcript_text}\n</transcript>" ) response = bedrock.converse( modelId=MODEL_ID, messages=[{"role": "user", "content": [{"text": prompt}]}], inferenceConfig={"maxTokens": 800, "temperature": 0.2}, ) return response["output"]["message"]["content"][0]["text"]
print(summarise(transcript_text, speakers="spk_0 is the project manager."))The instructions that do the heavy lifting are the ones that limit invention: "only what is in the transcript," "not stated," "do not guess owners or dates." Without them, models tend to fill the gaps with plausible-sounding names and deadlines, which is exactly what you don't want in an action item.
Long meetings
A one-hour meeting can run to ten thousand words or more, and a very long one can exceed a model's context window or make the summary vague. Two common approaches:
Summarise in chunks, then combine. Split the transcript into sections of, say, ten minutes. Summarise each, keeping decisions and actions, then give the section summaries to the model and ask for the final notes. This is the chaining pattern from the Medium article on prompt chaining.
Use a model with a larger window, if yours has one. It's simpler, but check the output, because long inputs can be used unevenly, as we discussed in the context windows article.
Either way, actions and decisions deserve a second look in a long meeting.
Accuracy: where this goes wrong
Treat the output as a draft, not a record. The common problems:
- Misheard words. Accents, background noise, crosstalk, jargon and names are all weak spots. Transcribe supports custom vocabularies, which can help with product names and technical terms.
- Wrong speaker. Diarization can mix up speakers, especially with similar voices or people talking over each other.
- Missing context. The model sees only words. It doesn't know what was shown on screen or implied by tone.
- Invented details. Even with careful prompts, check names, numbers, dates and commitments against the transcript.
- Overconfident summaries. A smooth summary can hide an unresolved disagreement.
A practical rule: have someone who was in the meeting spend two minutes checking the action items before they're shared.
Privacy, consent and safety
Recording and transcribing people raises genuine questions.
- Consent and the law. Rules on recording conversations differ between countries and regions, and sometimes require everyone's consent. Check the rules where you and the participants are, and tell people when a meeting is being recorded.
- Sensitive content. Meetings can include personal, financial, legal or health information. Decide what shouldn't be recorded at all.
- Redaction. Transcribe offers content redaction, which can mask sensitive personal information in the transcript. Check the current documentation for the options. The article on Amazon Comprehend that follows covers detecting and masking personal data before it reaches a model.
- Access. Lock down the bucket and any table holding transcripts, encrypt them and set a retention period.
- Don't over-share. Notes can be wrong or sensitive. Send them only to the people who need them.
What it costs
Transcribe is billed by the length of audio processed, with different rates for different features, and the Bedrock step costs tokens. A transcript is long input, so a long meeting costs more to summarise than a short one. Check the current pricing pages, run a few test recordings and multiply by your expected meeting volume.
Test it
Use the evaluation approach from the prompt testing article.
- Record or find five to ten short conversations of different kinds: a calm two-person chat, a noisy group, one with accents or jargon.
- Write down the real decisions and action items yourself, before you look at the output.
- Compare. Count the items it got right, missed and invented.
- Pay special attention to invented owners and dates, the most damaging kind of error.
Common mistakes
- Skipping consent.
- Setting
MaxSpeakerLabelsfar too high, which can split one person into several.
- Treating the summary as a verified record.
- Letting the model guess owners and dates.
- Reusing a job name, which makes the job fail.
- Storing transcripts forever in an open bucket.
- Waiting in a polling loop in production instead of reacting to job events.
Clean up
Delete the test recordings, transcripts and any jobs you don't need, and check your bill after a day or two.
A checklist
- Do participants know the meeting is recorded, and is that allowed?
- Are speaker labels on, with a sensible maximum?
- Does the prompt forbid inventing owners, dates and decisions?
- Do you handle long meetings by chunking or a larger window?
- Does someone check the action items before sharing?
- Is the storage locked down, encrypted and set to expire?
- Have you tested on noisy and accented recordings?
Where we go next
Next, we'll look at detecting and masking personal data with Amazon Comprehend before text ever reaches a model.
Transcribe settings, supported formats, limits, redaction features and pricing change often. Check the current Amazon Transcribe documentation before you follow any step here, and test everything in a non-production account first.
Series: Amazon Bedrock (18 articles)
- …
- 14Meeting Summaries with Amazon Transcribe and Amazon Bedrock This article
Enjoyed reading this content? Let the author know!
Your likes, comments, shares, and saves help creators reach more builders.
Loading recommendations
Loading article