Skip to content

Commit

Permalink
Merge pull request #59 from deepgram/sentiment
Browse files Browse the repository at this point in the history
Adding sentiment
  • Loading branch information
michaeljolley authored Oct 30, 2022
2 parents f00be1d + f76511b commit 85cdb91
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion deepgram/_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down Expand Up @@ -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
Expand All @@ -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):
Expand Down

0 comments on commit 85cdb91

Please sign in to comment.