Skip to content

Commit

Permalink
feat(nlu): remove beta model param from Sentiment
Browse files Browse the repository at this point in the history
  • Loading branch information
apaparazzi0329 committed Mar 16, 2023
1 parent f28958b commit 8906260
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
6 changes: 0 additions & 6 deletions natural-language-understanding/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1849,12 +1849,6 @@ namespace NaturalLanguageUnderstandingV1 {
document?: boolean;
/** Sentiment results will be returned for each target string that is found in the document. */
targets?: string[];
/** (Beta) Enter a [custom
* model](https://cloud.ibm.com/docs/natural-language-understanding?topic=natural-language-understanding-customizing)
* ID to override the standard sentiment model for all sentiment analysis operations in the request, including
* targeted sentiment for entities and keywords.
*/
model?: string;
}

/** The sentiment of the content. */
Expand Down
1 change: 0 additions & 1 deletion test/unit/natural-language-understanding.v1.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,6 @@ describe('NaturalLanguageUnderstandingV1', () => {
const sentimentOptionsModel = {
document: true,
targets: ['testString'],
model: 'testString',
};

// SummarizationOptions
Expand Down

0 comments on commit 8906260

Please sign in to comment.