Skip to content

feat(rtstream): model and speaker labels on start_transcript - #124

Merged
lalit-videodb merged 1 commit into
release-0-5-4from
lalit/transcript-model-speakers
Nov 23, 2026
Merged

lalit-videodb merged 1 commit into
release-0-5-4from
lalit/transcript-model-speakers

Conversation

@lalit-videodb

Copy link
Copy Markdown
Collaborator

RTStream.start_transcript() gets three optional arguments, matching the Server API (ADR 0050):

stream.start_transcript(language="es", model="pro", speaker_labels=True, max_speakers=5)
  • model: "standard" (default) or "pro", AssemblyAI's more accurate realtime model.
  • speaker_labels: label who speaks. Requires model="pro".
  • max_speakers: 1–10, requires speaker_labels=True.

Unset arguments aren't sent, so existing calls send the same body as before. Labelled transcript records from get_transcript() carry speaker on the record and on each word, with no SDK change needed.

Verification: with a mocked connection, the default call sends {"action": "start"}, and the full call sends all four fields. The Server side is live on dev: videodb-server #1207.

Not merged: it needs a release.

@lalit-videodb
lalit-videodb changed the base branch from main to release-0-5-4 November 23, 2026 12:38
@lalit-videodb lalit-videodb mentioned this pull request Nov 23, 2026
@lalit-videodb
lalit-videodb merged commit a3828b2 into release-0-5-4 Nov 23, 2026
5 of 6 checks passed
@lalit-videodb
lalit-videodb deleted the lalit/transcript-model-speakers branch November 23, 2026 12:40
@lalit-videodb
lalit-videodb restored the lalit/transcript-model-speakers branch November 23, 2026 12:40
@lalit-videodb
lalit-videodb deleted the lalit/transcript-model-speakers branch November 30, 2026 11:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant