Skip to content

Commit

Permalink
Merge pull request #118 from deepgram/sentiment
Browse files Browse the repository at this point in the history
added ner option and sentiment for tonal sentiment analysis
  • Loading branch information
briancbarrow authored Apr 12, 2023
2 parents 224cc11 + 80f76c7 commit ffed5bf
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/types/liveTranscriptionOptions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -239,4 +239,6 @@ export type LiveTranscriptionOptions = {
* will also be applied to the request itself.
* */
tag?: Array<string>;

ner?: boolean;
};
7 changes: 7 additions & 0 deletions src/types/prerecordedTranscriptionOptions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,11 @@ export type PrerecordedTranscriptionOptions = {
*/
detect_topics?: boolean;

/**
* Indicates whether Deepgram will identify sentiment in the audio.
*/
sentiment?: boolean;

/**
* Indicates whether Deepgram will identify sentiment in the transcript.
*/
Expand Down Expand Up @@ -265,4 +270,6 @@ export type PrerecordedTranscriptionOptions = {
* will also be applied to the request itself.
* */
tag?: Array<string>;

ner?: boolean;
};

0 comments on commit ffed5bf

Please sign in to comment.