From d3b2dcc6867cfe0f73f3af472edc60176745aacb Mon Sep 17 00:00:00 2001 From: rpriyanshu9 Date: Thu, 18 Jul 2024 12:29:54 +0530 Subject: [PATCH] feat: Add dictation option to LiveOptions class --- deepgram/clients/listen/v1/websocket/options.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/deepgram/clients/listen/v1/websocket/options.py b/deepgram/clients/listen/v1/websocket/options.py index 857c6634..9e9e43ab 100644 --- a/deepgram/clients/listen/v1/websocket/options.py +++ b/deepgram/clients/listen/v1/websocket/options.py @@ -38,6 +38,9 @@ class LiveOptions(DataClassJsonMixin): # pylint: disable=too-many-instance-attr diarize_version: Optional[str] = field( default=None, metadata=dataclass_config(exclude=lambda f: f is None) ) + dictation: Optional[bool] = field( + default=None, metadata=dataclass_config(exclude=lambda f: f is None) + ) encoding: Optional[str] = field( default=None, metadata=dataclass_config(exclude=lambda f: f is None) )