From f76511bf01f545610450dbad8da073e21ff38161 Mon Sep 17 00:00:00 2001 From: Michael Jolley Date: Wed, 26 Oct 2022 15:47:01 -0500 Subject: [PATCH] Adding sentiment --- deepgram/_types.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/deepgram/_types.py b/deepgram/_types.py index 4f054d10..9eb04576 100644 --- a/deepgram/_types.py +++ b/deepgram/_types.py @@ -84,6 +84,8 @@ class PrerecordedOptions(TranscriptionOptions, total=False): detect_language: bool detect_topics: bool translation: List[str] + analyze_sentiment: bool + sent_thresh: float class LiveOptions(TranscriptionOptions, total=False): @@ -343,7 +345,6 @@ class UsageOptions(TypedDict, total=False): replace: bool profanity_filter: bool keywords: bool - sentiment: bool diarize: bool detect_language: bool search: bool @@ -356,6 +357,8 @@ class UsageOptions(TypedDict, total=False): detect_language: bool detect_topics: bool translation: bool + analyze_sentiment: bool + sent_thresh: float class UsageResponseDetail(TypedDict):