Skip to content

Commit

Permalink
feat: implement multi-lingual
Browse files Browse the repository at this point in the history
  • Loading branch information
dvonthenen committed Jul 12, 2024
1 parent cee0704 commit 034d5b0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib/types/LiveTranscriptionEvent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,13 @@ export interface LiveTranscriptionEvent {
alternatives: {
transcript: string;
confidence: number;
languages: string[];
words: {
word: string;
start: number;
end: number;
confidence: number;
language: string;
punctuated_word: string;
}[];
}[];
Expand Down
2 changes: 2 additions & 0 deletions src/lib/types/SyncPrerecordedResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ interface Alternative {
entities?: Entity[];
translations?: Translation[];
topics?: TopicGroup[];
languages?: string[];
}

interface Channel {
Expand Down Expand Up @@ -208,4 +209,5 @@ interface WordBase {
punctuated_word?: string;
speaker?: number;
speaker_confidence?: number;
language?: string;
}

0 comments on commit 034d5b0

Please sign in to comment.