From 89062603a599ca868c28172f4e2b5b37d32b6eba Mon Sep 17 00:00:00 2001 From: Angelo Paparazzi Date: Wed, 8 Mar 2023 15:23:54 -0600 Subject: [PATCH] feat(nlu): remove beta model param from Sentiment --- natural-language-understanding/v1.ts | 6 ------ test/unit/natural-language-understanding.v1.test.js | 1 - 2 files changed, 7 deletions(-) diff --git a/natural-language-understanding/v1.ts b/natural-language-understanding/v1.ts index 4756f25bc1..c51e7aea59 100644 --- a/natural-language-understanding/v1.ts +++ b/natural-language-understanding/v1.ts @@ -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. */ diff --git a/test/unit/natural-language-understanding.v1.test.js b/test/unit/natural-language-understanding.v1.test.js index a598d6cd53..acaee15213 100644 --- a/test/unit/natural-language-understanding.v1.test.js +++ b/test/unit/natural-language-understanding.v1.test.js @@ -203,7 +203,6 @@ describe('NaturalLanguageUnderstandingV1', () => { const sentimentOptionsModel = { document: true, targets: ['testString'], - model: 'testString', }; // SummarizationOptions