Skip to content

Commit fb0f975

Browse files
committed
fix: no auto detection, precision of 1 language and only
1 parent 3552215 commit fb0f975

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

chapters/pre-recorded-stt/quickstart.mdx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,10 @@ transcription = gladia_client.transcribe(
109109
```
110110
</CodeGroup>
111111

112+
<Note>
113+
With `"solaria-3"`, set **one language** in `language_config.languages` — for example `["fr"]`. Do not pass multiple languages or enable code switching.
114+
</Note>
115+
112116
<Note>
113117
Want to go further? See [Audio Intelligence](/chapters/pre-recorded-stt/audio-intelligence) for add-ons like:
114118
- [Speaker diarization](/chapters/audio-intelligence/speaker-diarization): separate the speakers across the conversation
@@ -277,7 +281,7 @@ const response = await fetch("https://api.gladia.io/v2/pre-recorded", {
277281
audio_url: "YOUR_AUDIO_URL",
278282
model: "solaria-3",
279283
language_config: {
280-
languages: [],
284+
languages: ["fr"],
281285
},
282286
diarization: true,
283287
diarization_config: {
@@ -318,7 +322,7 @@ curl --request POST \
318322
"audio_url": "YOUR_AUDIO_URL",
319323
"model": "solaria-3",
320324
"language_config": {
321-
"languages": []
325+
"languages": ["fr"]
322326
},
323327
"diarization": true,
324328
"diarization_config": {

snippets/choose-model.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Tip>
22
Pass `model` in your pre-recorded request body to choose the transcription model:
33

4-
- `"solaria-3"` — our latest model (best-in-class on EU languages). **Async (pre-recorded) only** — not available for live transcription. **No code switching.**
4+
- `"solaria-3"` — our latest model (best-in-class on EU languages). **Async (pre-recorded) only** — not available for live transcription. **Single language only** — pass exactly one language in `language_config.languages` (no code switching or multi-language configuration).
55
- **Languages:** English, French, Spanish, German, Dutch, Italian, Portuguese
66
- **Add-ons:** summarization, translation, PII redaction, and audio to LLM
77
- `"solaria-1"` — our generalist model (code switching, 100 languages). Available for async and live.

0 commit comments

Comments
 (0)