Skip to content

Commit 8815b1a

Browse files
feat(nlu): remove beta model param from Sentiment
1 parent 15dc09c commit 8815b1a

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

natural-language-understanding/v1.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1849,12 +1849,6 @@ namespace NaturalLanguageUnderstandingV1 {
18491849
document?: boolean;
18501850
/** Sentiment results will be returned for each target string that is found in the document. */
18511851
targets?: string[];
1852-
/** (Beta) Enter a [custom
1853-
* model](https://cloud.ibm.com/docs/natural-language-understanding?topic=natural-language-understanding-customizing)
1854-
* ID to override the standard sentiment model for all sentiment analysis operations in the request, including
1855-
* targeted sentiment for entities and keywords.
1856-
*/
1857-
model?: string;
18581852
}
18591853

18601854
/** The sentiment of the content. */

test/unit/natural-language-understanding.v1.test.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,6 @@ describe('NaturalLanguageUnderstandingV1', () => {
203203
const sentimentOptionsModel = {
204204
document: true,
205205
targets: ['testString'],
206-
model: 'testString',
207206
};
208207

209208
// SummarizationOptions

0 commit comments

Comments
 (0)