From 9328b758fce30fe9af76985652b9735e620b32a7 Mon Sep 17 00:00:00 2001 From: Mohammad Abbas Date: Tue, 22 Oct 2024 11:49:32 +0100 Subject: [PATCH] added speaker type to LiveTranscriptionEvent interface --- src/lib/types/LiveTranscriptionEvent.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/types/LiveTranscriptionEvent.ts b/src/lib/types/LiveTranscriptionEvent.ts index 20bad29..eaa0ab2 100644 --- a/src/lib/types/LiveTranscriptionEvent.ts +++ b/src/lib/types/LiveTranscriptionEvent.ts @@ -17,6 +17,7 @@ export interface LiveTranscriptionEvent { confidence: number; language: string; punctuated_word: string; + speaker?: number; }[]; }[]; };