Private AI meeting notes that stay on your computer. No meeting bot. Free and open source for Mac, Windows and Linux. An alternative to Granola, Otter and Fireflies.
TypeScript ai-meeting-assistantai-notetakerelectrongranola-alternativelinuxllama-cpplocal-ailocal-firstmacosmcpmeeting-minutesmeeting-notesoffline-firstopen-sourceprivacyspeech-to-texttranscriptionwhisperwhisper-cppwindows
Transcript test: whisper's words in the stub reply type
christianmatd1261ca8b092
diff --git a/app/test/transcribe.test.ts b/app/test/transcribe.test.tsindex 789824c9..efaf87b6 100644--- a/app/test/transcribe.test.ts+++ b/app/test/transcribe.test.ts@@ -4,7 +4,7 @@ import { afterEach, describe, expect, it } from 'vitest'import { createTranscriber, isGarbled, requestTimeoutMs, wavBytes } from '../src/main/asr/transcribe'import type { Chunk } from '../src/main/asr/chunker'-type Reply = { language?: string; prob?: number; segments?: Array<{ start: number; end: number; text: string }> }+type Reply = { language?: string; prob?: number; segments?: Array<{ start: number; end: number; text: string; words?: Array<{ word: string; start: number; end: number }> }> }const verbose = (r: Reply) => ({task: 'transcribe', language: r.language ?? 'english', detected_language: r.language ?? 'english', detected_language_probability: r.prob ?? 0.99,text: (r.segments ?? []).map((s) => s.text).join(''),