We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cee0704 commit 034d5b0Copy full SHA for 034d5b0
2 files changed
src/lib/types/LiveTranscriptionEvent.ts
@@ -9,11 +9,13 @@ export interface LiveTranscriptionEvent {
9
alternatives: {
10
transcript: string;
11
confidence: number;
12
+ languages: string[];
13
words: {
14
word: string;
15
start: number;
16
end: number;
17
18
+ language: string;
19
punctuated_word: string;
20
}[];
21
src/lib/types/SyncPrerecordedResponse.ts
@@ -12,6 +12,7 @@ interface Alternative {
entities?: Entity[];
translations?: Translation[];
topics?: TopicGroup[];
+ languages?: string[];
}
interface Channel {
@@ -208,4 +209,5 @@ interface WordBase {
208
209
punctuated_word?: string;
210
speaker?: number;
211
speaker_confidence?: number;
212
+ language?: string;
213
0 commit comments