From eab6c8e4d03d219ba9d0698033196b3e44815167 Mon Sep 17 00:00:00 2001 From: isaac hook Date: Tue, 26 Sep 2023 11:18:10 +0100 Subject: [PATCH] update transcription_config example in readme to match type --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4564d4e..6834abf 100644 --- a/README.md +++ b/README.md @@ -227,8 +227,8 @@ const session = new RealtimeSession(YOUR_API_KEY); const transcription_config = { language: 'en', additional_vocab: [ - { word: 'gnocchi', sounds_like: ['nyohki', 'nokey', 'nochi'] }, - { word: 'CEO', sounds_like: ['C.E.O'] } + { content: 'gnocchi', sounds_like: ['nyohki', 'nokey', 'nochi'] }, + { content: 'CEO', sounds_like: ['C.E.O'] } ], diarization: 'speaker_change', enable_partials: true,