Skip to content

Commit 85cdb91

Browse files
Merge pull request #59 from deepgram/sentiment
Adding sentiment
2 parents f00be1d + f76511b commit 85cdb91

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

deepgram/_types.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,8 @@ class PrerecordedOptions(TranscriptionOptions, total=False):
8484
detect_language: bool
8585
detect_topics: bool
8686
translation: List[str]
87+
analyze_sentiment: bool
88+
sent_thresh: float
8789

8890

8991
class LiveOptions(TranscriptionOptions, total=False):
@@ -343,7 +345,6 @@ class UsageOptions(TypedDict, total=False):
343345
replace: bool
344346
profanity_filter: bool
345347
keywords: bool
346-
sentiment: bool
347348
diarize: bool
348349
detect_language: bool
349350
search: bool
@@ -356,6 +357,8 @@ class UsageOptions(TypedDict, total=False):
356357
detect_language: bool
357358
detect_topics: bool
358359
translation: bool
360+
analyze_sentiment: bool
361+
sent_thresh: float
359362

360363

361364
class UsageResponseDetail(TypedDict):

0 commit comments

Comments
 (0)