From 2261f0e9936dfb2c6053fde1d4bf24bcdc92d6bc Mon Sep 17 00:00:00 2001 From: Lancelot Owczarczak Date: Thu, 29 Feb 2024 19:42:19 +0900 Subject: [PATCH] :sparkles: models: Add keywords in transcription option (#134) --- lib/transcribe.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/transcribe.ts b/lib/transcribe.ts index 0674bb9..abbd947 100644 --- a/lib/transcribe.ts +++ b/lib/transcribe.ts @@ -41,6 +41,7 @@ type TranscriptionOptions = { provider?: string; language?: string; outputFormat?: string; + keywords?: string[]; }; type Word = { @@ -144,6 +145,7 @@ export function transcribe( provider: options.provider, language: options.language, output_format: options.outputFormat, + keywords: options.keywords, file_path: fileName, }, {