Back to catalog / Document and data automation
Prepare interview questions from a recording
Transcribe an authorized recording with Deepgram, then ask Claude to draft open-ended interview questions from the transcript.
Goal
Turn an interview recording into a reviewed, usable question list.
Steps
- Fetch an allowed audio URL with
requests.get(url, timeout=60)and call Deepgram usingPrerecordedOptions(model="nova-2", smart_format=True). [audio] [transcript] - Read
results.channels[0].alternatives[0].transcriptand pass the transcript toclient.messages.createwith instructions to draft open-ended questions. [audio] [transcript] - Have an interviewer check names and question bias against the audio; export only reviewed questions and delete audio/transcript under the retention window. [audio] [transcript]
How to verify
The transcript file parses and contains the expected speech; each final question traces to a reviewed interview topic.
Troubleshooting
On download failure, check URL access, timeout, and Deepgram quota; manually correct unclear passages instead of asking the model to guess.
Permissions
Prerequisites
- Python, Deepgram API key, Anthropic API key, and an authorized interview-recording URL that the service can download.
Permissions
- Process recordings only with participant authorization; treat audio and transcripts as personal data with least-privilege access and a deletion window.
Limitations
Transcription can omit or misrecognize speech; generated questions are drafts that an interviewer must review for accuracy, bias, and privacy.
Pinned upstream source
- Repository
- anthropics/anthropic-cookbook
- File path
- third_party/Deepgram/prerecorded_audio.ipynb
- Pinned commit
9c1e493ddd2b82df399d2a61b9c806c539e18be6- Source checked
- 2026-10-14 · Reviewed against the pinned upstream source
Repository metrics
These values describe the upstream repository, not popularity or likes for an individual skill or playbook.
- Stars
- Not collected
- Forks
- Not collected
- Observed at
- Not collected
No metrics snapshot is available yet.
License: MIT
Main topic
Turn ecommerce campaign materials into a reviewable weekly brief