System Architecture

Zoom Transcript
Pipeline

Unified transcription with intelligent routing to study-archive & CMKiller databases

Z
Source

Zoom Cloud API

Server-to-Server OAuth (Account Credentials)

Routing Engine

Intelligent Router

Classify recordings by topic pattern and duration

routeRecording(topic, duration)
第N回
CC講座の勉強会
study-archive
AIVEST / PMI
事務局 & パーソナル
cmkiller
Others / ≤5min
対象外
skip
Transcription

AssemblyAI

High-accuracy Japanese speech recognition

+ Speaker Diarization
+ Timestamps (ms)
+ Best Model
Common Store

Local Transcript Storage

UUID-keyed JSON files with fast index lookup

~/.local/share/zoom-transcripts/
index.json · {uuid}.json
Database A

study-archive

Neon

CC講座の学習サイト向け。チャプター、クイズ、アクセス権管理を含む。

Embedding
OpenAI 3-small
Dimensions
1,536
Chunking
3-layer
Layers
chapter / segment / qa
Tables
Lesson Quiz Chunk Module Course
Database B

CMKiller

Vercel

汎用ナレッジ検索。MCP Server、Web UI、セマンティック検索。

Embedding
Voyage AI v3
Dimensions
1,024
Chunking
3-layer
Layers
speaker / segment / summary
Tables
Knowledge Embedding Tag ApiKey
transcribe-all.ts
Zoom全録画を取得し、ルーティング後に文字起こし。共通ストアに保存。
npx tsx scripts/transcribe-all.ts --days 7
watch.ts
統合監視。全録画を自動検知し、各パイプラインに振り分け実行。
npx tsx scripts/watch.ts --run
archive-study.ts
CC講座専用。R2アップ、AI分析、クイズ生成、DB登録、RAG投入まで一括。
npx tsx scripts/archive-study.ts <N>
sync-cmkiller.ts
共通ストアの未同期ナレッジを CMKiller API へ POST。
npx tsx scripts/sync-cmkiller.ts

Scheduled Execution

10分間隔で watch.ts を定期実行。新しい録画を自動検知してパイプラインを起動。3時間ごとに LINE ヘルスチェック通知。

/loop 10m npx tsx scripts/watch.ts --run