You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using a multilingual ASR model (e.g. `nvidia-nemotron-3.5-asr-streaming-multilingual-0.6b`), set the language to a BCP-47 language code to hint the expected language.
284
+
285
+
| Code | Language | Code | Language |
286
+
|------|----------|------|----------|
287
+
| `en-US` | English (US) | `en-GB` | English (UK) |
288
+
| `zh-CN` | Chinese (Simplified) | `ja-JP` | Japanese |
When using a multilingual ASR model (e.g. `nvidia-nemotron-3.5-asr-streaming-multilingual-0.6b`), set `Language` to a BCP-47 language code to hint the expected language. This applies to both `OpenAIAudioClient.Settings.Language` and `LiveAudioTranscriptionSession.Settings.Language`.
306
+
307
+
| Code | Language | Code | Language |
308
+
|------|----------|------|----------|
309
+
|`en-US`| English (US) |`en-GB`| English (UK) |
310
+
|`zh-CN`| Chinese (Simplified) |`ja-JP`| Japanese |
Use `"auto"` to let the model detect the spoken language automatically.
331
+
332
+
```csharp
333
+
// Multilingual example
334
+
audioClient.Settings.Language="zh-CN"; // Chinese
335
+
session.Settings.Language="auto"; // Auto-detect
336
+
```
337
+
303
338
### Live Audio Transcription (Real-Time Streaming)
304
339
305
340
For real-time microphone-to-text transcription, use `CreateLiveTranscriptionSession()`. Audio is pushed as raw PCM chunks and transcription results stream back as an `IAsyncEnumerable`.
Copy file name to clipboardExpand all lines: sdk/js/README.md
+33Lines changed: 33 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -265,6 +265,39 @@ for await (const chunk of audioClient.transcribeStreaming('/path/to/audio.wav'))
265
265
}
266
266
```
267
267
268
+
#### Multilingual Language Codes
269
+
270
+
When using a multilingual ASR model (e.g. `nvidia-nemotron-3.5-asr-streaming-multilingual-0.6b`), set `language` to a BCP-47 language code to hint the expected language.
271
+
272
+
| Code | Language | Code | Language |
273
+
|------|----------|------|----------|
274
+
|`en-US`| English (US) |`en-GB`| English (UK) |
275
+
|`zh-CN`| Chinese (Simplified) |`ja-JP`| Japanese |
Copy file name to clipboardExpand all lines: sdk/rust/README.md
+33Lines changed: 33 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -441,6 +441,39 @@ while let Some(chunk) = stream.next().await {
441
441
}
442
442
```
443
443
444
+
#### Multilingual Language Codes
445
+
446
+
When using a multilingual ASR model (e.g. `nvidia-nemotron-3.5-asr-streaming-multilingual-0.6b`), set `language` to a BCP-47 language code to hint the expected language.
447
+
448
+
| Code | Language | Code | Language |
449
+
|------|----------|------|----------|
450
+
|`en-US`| English (US) |`en-GB`| English (UK) |
451
+
|`zh-CN`| Chinese (Simplified) |`ja-JP`| Japanese |
0 commit comments