Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -313,13 +313,13 @@ const res = await client.transcripts.delete(transcript.id);

### Transcribe streaming audio

Refer to [AssemblyAI's streaming documentation](https://www.assemblyai.com/docs/getting-started/transcribe-streaming-audio) for full code examples.
Refer to [AssemblyAI's streaming documentation](https://www.assemblyai.com/docs/streaming/getting-started/transcribe-streaming-audio) for full code examples.

Create the streaming transcriber.

```typescript
const transcriber = client.streaming.transcriber({
speechModel: "u3-rt-pro",
speechModel: "universal-3-5-pro",
sampleRate: 16_000,
formatTurns: true,
});
Expand Down
2 changes: 1 addition & 1 deletion samples/streaming-dual-channel-mic-system/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ const systemVad = await MicVAD.new({
})

const transcriber = client.streaming.transcriber({
speechModel: "u3-rt-pro",
speechModel: "universal-3-5-pro",
sampleRate: 16_000,
channels: [{ name: "mic" }, { name: "system" }],
channelAttribution: {
Expand Down
2 changes: 1 addition & 1 deletion samples/streaming-dual-channel-mic-system/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ async function start(): Promise<void> {
transcriber = new StreamingTranscriber({
token,
sampleRate: 16_000,
speechModel: "u3-rt-pro",
speechModel: "universal-3-5-pro",
speakerLabels: true,
...(maxSpeakers !== undefined && { maxSpeakers }),
continuousPartials: true,
Expand Down
Loading