Skip to content

Commit 8906260

Browse files
feat(nlu): remove beta model param from Sentiment
1 parent f28958b commit 8906260

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

Diff for: natural-language-understanding/v1.ts

-6
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. */

Diff for: test/unit/natural-language-understanding.v1.test.js

-1
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)