Skip to content

Update README to showcase speech model selection#130

Merged
zakki-aai merged 1 commit intomainfrom
zakki-aai-patch-1
Mar 5, 2026
Merged

Update README to showcase speech model selection#130
zakki-aai merged 1 commit intomainfrom
zakki-aai-patch-1

Conversation

@zakki-aai
Copy link
Contributor

Updated the first code snippets for async and streaming to explicitly show model parameters, matching our current documentation. This could help prevent tools like Claude Code from defaulting to Nano when scaffolding projects from the SDK README.

Changes:

Setup: Added baseUrl to client constructor
Async: Updated first transcribe example to use speech_models: ["universal-3-pro", "universal-2"] with language_detection Streaming: Collapsed two constructor blocks into one with speechModel: "u3-rt-pro", sampleRate, and formatTurns Updated audio URL from espn.m4a to sports_injuries.mp3 to match current docs

Updated the first code snippets for async and streaming to explicitly show model parameters, matching our current documentation. This could help prevent tools like Claude Code from defaulting to Nano when scaffolding projects from the SDK README.

Changes:

Setup: Added baseUrl to client constructor
Async: Updated first transcribe example to use speech_models: ["universal-3-pro", "universal-2"] with language_detection
Streaming: Collapsed two constructor blocks into one with speechModel: "u3-rt-pro", sampleRate, and formatTurns
Updated audio URL from espn.m4a to sports_injuries.mp3 to match current docs
@zakki-aai zakki-aai self-assigned this Mar 5, 2026
@zakki-aai zakki-aai requested a review from MAsuamah March 5, 2026 18:59
@zakki-aai zakki-aai merged commit faaaebd into main Mar 5, 2026
2 checks passed
@zakki-aai zakki-aai deleted the zakki-aai-patch-1 branch March 5, 2026 20:00
@zakki-aai zakki-aai removed the request for review from MAsuamah March 5, 2026 20:00
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