Skip to content

Commit

Permalink
added ner option and sentiment for tonal sentiment analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
briancbarrow committed Apr 7, 2023
1 parent d27c169 commit 80f76c7
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 80f76c7

Please sign in to comment.