From b6ada320f87e310b39d2fd8286eaf554f2f7ee07 Mon Sep 17 00:00:00 2001 From: David vonThenen <12752197+dvonthenen@users.noreply.github.com> Date: Tue, 16 Jan 2024 17:51:26 -0800 Subject: [PATCH] Update UtteranceEnd Message With Latest --- deepgram/clients/live/v1/response.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/deepgram/clients/live/v1/response.py b/deepgram/clients/live/v1/response.py index 8fc35e5f..80c16718 100644 --- a/deepgram/clients/live/v1/response.py +++ b/deepgram/clients/live/v1/response.py @@ -170,6 +170,12 @@ class UtteranceEndResponse: """ type: Optional[str] = "" + channel: Optional[List[int]] = None + last_word_end: Optional[float] = 0 + + def __getitem__(self, key): + _dict = self.to_dict() + return _dict[key] # Error Message