deepgram-migration-deep-dive
Deep dive into complex Deepgram migrations and provider transitions. Use when migrating from other transcription providers, planning large-scale migrations, or implementing phased rollout strategies. Trigger with phrases like "deepgram migration", "switch to deepgram", "migrate transcription", "deepgram from AWS", "deepgram from Google".
- License 许可
- MIT
- 最近更新
- 2026-03-20
- Stars
- ★ 4
- Forks
- 0
01 前言 Front Matter
- name
- deepgram-migration-deep-dive
- author
- Jeremy Longshore <jeremy@intentsolutions.io>
- license
- MIT
- version
- 1.0.0
- description
- Deep dive into complex Deepgram migrations and provider transitions. Use when migrating from other transcription providers, planning large-scale migrations, or implementing phased rollout strategies. Trigger with phrases like "deepgram migration", "switch to deepgram", "migrate transcription", "deepgram from AWS", "deepgram from Google".
- allowed-tools
- Read, Write, Edit, Bash(kubectl:*), Bash(curl:*)
- compatible-with
- claude-code, codex, openclaw
02 资源文件 1
- 参考文档references/implementation.md5.0 KB
03 SKILL.md 正文
Deepgram Migration Deep Dive
Table of Contents
Overview
Comprehensive guide for migrating to Deepgram from other transcription providers (AWS Transcribe, Google Cloud STT, Azure Speech, OpenAI Whisper, Rev.ai, AssemblyAI) using an adapter pattern with parallel running and gradual traffic shifting.
Prerequisites
- Current provider SDK and credentials
- Deepgram API key and project configured
- Test audio dataset for comparison
- Monitoring infrastructure ready
Instructions
Step 1: Assessment
Audit current usage (hours/month, features), map features to Deepgram equivalents, and estimate costs.
Step 2: Implement Adapter Pattern
Create a TranscriptionAdapter interface with transcribe() and transcribeFile() methods, then implement both the legacy adapter and DeepgramAdapter.
Step 3: Build Migration Router
Create a MigrationRouter that routes traffic by percentage (0-100%) between providers, with optional parallel comparison mode.
Step 4: Parallel Running & Validation
Run both providers simultaneously, compare results using Jaccard similarity, and verify accuracy meets >= 90% threshold.
Step 5: Gradual Rollout
Shift traffic incrementally: 5% -> 25% (monitor 1 week) -> 50% (monitor 1 week) -> 100%.
Step 6: Cutover & Cleanup
Complete migration, decommission old provider, update documentation.
Output
- TranscriptionAdapter interface and implementations
- MigrationRouter with percentage-based routing
- Validation script with similarity scoring
- Feature mapping tables (AWS/Google -> Deepgram)
- Rollback manager with checkpoint/restore
Error Handling
| Issue | Cause | Resolution |
|---|---|---|
| Low similarity scores | Feature mismatch | Check feature mapping, adjust options |
| Deepgram latency higher | Cold start or model | Pre-warm connections, verify model selection |
| Missing features | Incomplete mapping | Use Deepgram keywords for custom vocabulary |
| Rollback needed | Quality regression | Call emergencyRollback() to set percentage to 0% |
Examples
Feature Mapping (AWS -> Deepgram)
LanguageCode: en-US->language: "en"(ISO 639-1)ShowSpeakerLabels: true->diarize: trueVocabularyName: custom->keywords: ["term:1.5"]ContentRedaction->redact: ["pci", "ssn"]
Migration Checklist
Pre-migration, validation phase, rollout phase (5% -> 25% -> 50% -> 100%), post-migration cleanup.
See detailed implementation for advanced patterns.
Resources
04 同仓库更多 Skills
azure-apim-architecture
Analyzes and explains Azure API Management architecture decisions for enterprise API marketplace implementations using VNet Internal mode, Front Door, hybrid authentication, and multi-environment strategies. Use when discussing APIM component selection, network topology, cost optimization, or comparing alternatives like workspaces vs instances, VNet Internal vs External mode, or Front Door vs Application Gateway.
apiops-deployment
Guides deployment of Azure API Management infrastructure using Infrastructure as Code (Bicep/Terraform), CI/CD pipelines (GitHub Actions/Azure DevOps), and APIOps workflows. Use when deploying APIM, creating pipelines, or implementing dev→test→prod promotion strategies.
apim-policy-authoring
Creates production-ready Azure API Management policy XML for authentication (OAuth 2.0, JWT validation, subscription keys), rate limiting, CORS configuration, error handling, and API transformations. Use when implementing API security, access control, or request/response processing logic.
api-security-review
Reviews Azure API Management configurations for security vulnerabilities, OWASP API Security Top 10 compliance, VNet Internal mode validation, Private Link verification, and Azure Security Benchmark alignment. Use when performing security audits, pre-deployment validation, or compliance reviews.
jira-cli
Interact with Jira from the command line to create, list, view, edit, and transition issues, manage sprints and epics, and perform common Jira workflows. Use when the user asks about Jira tasks, tickets, issues, sprints, or needs to manage project work items.
calculator
Performs arbitrary-precision arithmetic calculations including addition, subtraction, multiplication, division, and exponents. Use when the user asks to calculate, compute, or evaluate math expressions, or when precise decimal arithmetic is needed to avoid floating-point errors.