Commit eda30d2
feat(gladia): add full support for Gladia live and batch STT features (#2201)
* feat(gladia): add full support for Gladia live STT features
- Add code switching support: enabled when multiple languages are specified
- Add partial transcripts: receive_partial_transcripts and receive_final_transcripts
- Native multi-channel support already present via channels field
- Custom vocabulary support already present via custom_vocabulary field
- Add custom_metadata field support for metadata passthrough
- Add recommended config for meeting recorders:
- pre_processing.audio_enhancer: true
- realtime_processing.words_accurate_timestamps: true
Co-Authored-By: yujonglee <[email protected]>
* fix(gladia): only enable meeting recorder settings for multi-channel mode
The pre_processing.audio_enhancer and realtime_processing.words_accurate_timestamps
settings are designed for multi-channel meeting recorder scenarios. Enabling them
unconditionally for single-channel mode was causing Gladia to not return transcripts.
Now these settings are only enabled when channels > 1.
Co-Authored-By: yujonglee <[email protected]>
* feat(gladia): add diarization_config with name_consistency and custom_vocabulary to batch
- Add diarization_config.name_consistency: true for speaker diarization
- Add custom_vocabulary support from ListenParams.keywords
Co-Authored-By: yujonglee <[email protected]>
* fix
---------
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: yujonglee <[email protected]>1 parent 1a618f6 commit eda30d2
3 files changed
+48
-17
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
8 | 6 | | |
9 | 7 | | |
10 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
39 | 43 | | |
40 | 44 | | |
41 | 45 | | |
| |||
191 | 195 | | |
192 | 196 | | |
193 | 197 | | |
| 198 | + | |
| 199 | + | |
194 | 200 | | |
195 | 201 | | |
196 | 202 | | |
197 | 203 | | |
| 204 | + | |
| 205 | + | |
198 | 206 | | |
199 | 207 | | |
200 | 208 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
101 | 108 | | |
102 | 109 | | |
103 | 110 | | |
| |||
108 | 115 | | |
109 | 116 | | |
110 | 117 | | |
| 118 | + | |
111 | 119 | | |
112 | 120 | | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
113 | 128 | | |
114 | 129 | | |
115 | 130 | | |
| |||
217 | 232 | | |
218 | 233 | | |
219 | 234 | | |
| 235 | + | |
| 236 | + | |
220 | 237 | | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
221 | 242 | | |
222 | 243 | | |
223 | 244 | | |
224 | 245 | | |
225 | 246 | | |
| 247 | + | |
226 | 248 | | |
227 | 249 | | |
228 | 250 | | |
229 | 251 | | |
230 | 252 | | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
231 | 264 | | |
232 | 265 | | |
233 | 266 | | |
| |||
327 | 360 | | |
328 | 361 | | |
329 | 362 | | |
330 | | - | |
331 | | - | |
332 | | - | |
333 | | - | |
334 | | - | |
335 | | - | |
336 | | - | |
337 | | - | |
338 | 363 | | |
339 | 364 | | |
340 | 365 | | |
| |||
0 commit comments