Skip to content

Sync from internal repo (2026/07/13)#163

Merged
ccampbell-aai merged 1 commit into
mainfrom
BB87A999DDB72BAC88587A32C6D0C213
Jul 13, 2026
Merged

Sync from internal repo (2026/07/13)#163
ccampbell-aai merged 1 commit into
mainfrom
BB87A999DDB72BAC88587A32C6D0C213

Conversation

@ccampbell-aai

@ccampbell-aai ccampbell-aai commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

Copybara sync from the internal monorepo (master) → main. Bumps the SDK 4.35.4 → 4.36.3.

This sync introduces the synchronous transcription surface (client.sync) and its follow-up refinements.

4.36.0 — client.sync

  • Add client.sync for synchronous transcription: audio in, transcript out in a single request against the sync API host — no job id, no polling. Accepts a local file path, raw bytes, a Blob, or a readable stream (not URLs), plus config for prompt, keyterms_prompt, conversation_context, language_codes, and raw PCM (sample_rate + channels).
  • Add SyncTranscriber.warm() to pre-open the connection so the next transcribe() skips the DNS + TCP + TLS handshake.
  • Add SyncTranscriptError with status, a machine-readable errorCode, and retryAfter (seconds) on 429/503 responses.
  • Add the syncBaseUrl client option (defaults to https://sync.assemblyai.com).

4.36.1 — rename + default model

  • Rename the sync surface introduced in 4.36.0 (never published under the old names): client.directclient.sync, Direct* types → Sync*, directBaseUrlsyncBaseUrl; word_boostkeyterms_prompt.
  • The default sync speech model is now universal-3-5-pro (sent as the X-AAI-Model routing header).

4.36.2 — opt-in word timestamps

  • Add the opt-in timestamps sync config option. When true, sync words carry accurate start/end timings at a small latency cost. By default no timings are computed or returned; SyncWord.start/end are now optional and absent unless requested.

4.36.3 — canonical routes

  • Target the canonical /v1 sync API routes (/v1/transcribe, /v1/warm); the unprefixed paths remain served for older SDK versions.

Generated by Copybara from internal master. Merging this PR publishes 4.36.3 to npm.

GitOrigin-RevId: c43188ee72156a76561031084ce181d35aaad8b2

@bgotthold-aai bgotthold-aai left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add basic description

@ccampbell-aai
ccampbell-aai merged commit 979d691 into main Jul 13, 2026
3 checks passed
@ccampbell-aai
ccampbell-aai deleted the BB87A999DDB72BAC88587A32C6D0C213 branch July 13, 2026 23:42
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.

2 participants