Upgrading to [email protected]
The previously generated watson.js
UMD bundle will no longer be generated to support updated core requirements
In preparation for Node 14 EOL, the SDK no longer supports Node version 14, as reflected in the engines
property in the package.json file. Version 14 will reach end of life on 30 April 2023.
- Parameter
createSession
removed fromcreateSession
function - Interface
Environment
propertylanguage
removed - Interface
EnvironmentReleaseReference
renamed toBaseEnvironmentReleaseReference
- Interface
EnvironmentOrchestration
renamed toBaseEnvironmentOrchestration
- Interface
SkillReference
renamed toEnvironmentSkill
- Parameter
smartDocumentUnderstanding
removed fromcreateCollection
function - Interface
QueryResponsePassage
andQueryResultPassage
propertyconfidence
removed - Interface
DocumentClassifierEnrichment
propertyenrichmentId
is no longer an optional - QueryAggregation interfaces restructured
- All
sentimentModel
functions removed
AR_AR_BROADBANDMODEL
model removed in favor ofAR_MS_BROADBANDMODEL
model
createAssistant
functionlistAssistants
functiondeleteAssistant
functionupdateEnvironment
functioncreateRelease
functiondeleteRelease
functiongetSkill
functionupdateSkill
functionexportSkills
functionimportSkills
functionimportSkillsStatus
function- Improved typing for
message
function call See details of these functions on IBM's documentation site here
- Aggregation types
QueryTopicAggregation
andQueryTrendAggregation
added
- added
FR_CA_MULTIMEDIA
,JA_JP_TELEPHONY
,NL_NL_MULTIMEDIA
,SV_SE_TELEPHONY
models
- added
EN_AU_HEIDIEXPRESSIVE
,EN_AU_JACKEXPRESSIVE
,EN_US_ALLISONEXPRESSIVE
,EN_US_EMMAEXPRESSIVE
,EN_US_LISAEXPRESSIVE
,EN_US_MICHAELEXPRESSIVE
,KO_KR_JINV3VOICE
- Parameters
ratePercentage
andpitchPercentage
added tosynthesize
function See details of these new parameters on IBM's documentation site here