- Version 2.7.3
- Version 2.7.2
- Version 2.7.1
- Version 2.7.0
- Version 2.6.8
- Version 2.6.7
- Version 2.6.6
- Version 2.6.5
- Version 2.6.4
- Version 2.6.3
- Version 2.6.2
- Version 2.6.1
- Version 2.6.0
- Version 2.5.5
- Version 2.5.4
- Version 2.5.3
- Version 2.5.2
- Version 2.5.1
- Version 2.5.0
- Version 2.4.3
- Version 2.4.2
- Renamed contextSource property to source in UpdateApplicationContextCommand
- Added new CMM message types and properties
- Removed logging that might disclose sensitive info
- Fixed name of bag item disambiguateMessage event in TypeScript
- Fixed issue with nested items not supported in entity item event in TypeScript
- Removed logging of context variable values
-
LLM Transformation Handlers: Handlers that can be used to transform the LLM provider request and response format to Oracle's Common LLM Interface (CLMI). See Writing LLM Transformation Handlers for more information. This feature requires Oracle Digital Assistant version 23.10 or later.
-
LLM Validation & Customizationion Handlers: Handlers that can be used to validate the LLM request and response, and to customize the LLM response messages sent to the user. See Writing LLM Validation & Customization Handlers for more information. This feature requires Oracle Digital Assistant version 23.10 or later.
-
Support for Conversation Message Model Enhancements: The Conversation MessageModel (CMM) has been enhanced with the new message elements and properties. See Conversation Messaging for more information.
- Custom component service fails to start or pack when using npm 9.5.1 in typescript
- Documentation fixes
- Fixed issue in baseContext.translate method for TypeScript.
- New Message Types and Properties: This release includes support for the new
EditForm
message type, which allows you to render editable forms with text, number, date, time, single-select, multi-select and toggle fields. This new message type, as well as new properties for existing messages are supported through the newMessageFactory
class which supersedes the now deprecatedMessageModel
class. See Conversation Messaging for more information.
- Documentation fixes
- New UserInputReceived Entity Event Handler Method: See Writing Entity Event Handlers for more information.
- Fixed TypeScript definition of EntityValidateEvent
- Added TypeScript definition for DisambiguateItemEvemt
- SQL Query Event Handlers: SQL query event handlers can be used to customize the SQL Dialogs query results. See Writing SQL Query Event Handlers for more information. This feature requires Oracle Digital Assistant version 22.12 or later.
- Item disambiguation values are not cleared when setting item value using context.setItemValue
- Bots Node SDK Hello World sample requires keepTurn(true) to be set to navigate to next state
- Cannot add action to form with bots-node-sdk
- Custom component dependencies not bundled. This has been fixed by changing the
bundledDependencies
property inpackage.json
tobundleDependencies
as this is the property name used when installing a package usingnpm install
. If you are using this new SDK version with an existing component service, make sure to update yourpackage.json
accordingly. - Preventing packaging of previous custom component package during pack
- Allow accessing nlpResult from EEH context
- Calling context.getEntityItems() from an EEH on a skill scoped variable in visual dialog fails because of lookup in flow scope only
- Fix for display value of multi-value recurring property
- The EntityResolutionContext method
clearItemValue()
failed if composite bag entity is empty - Building a component package using the option
--language typescript
failed.
- Improved custom component scaffolding: Custom components created with the CLI now use the
async
syntax rather than the deprecateddone
callback.
- EntityEvent interface was defined twice
- Support for visual flows: Starting with ODA platform version 22.04, skills can be defined using multiple visual flows, rather than a single monolitic flow defined in YAML.
- New 'init' entity event handler: A new 'init' event is available in entity event handler which fires when entity resolution starts.
- New attribute 'supportedActions' in entity event handler metadata: The
supportedActions
property contains a string array of transition actions that might be set by the event handler. By setting this property, the skill validator will not raise a warning if a transition action created in an event handler is set by by the resolving state in the flow. - New entity resolution context method to set transition action: When using the new
setTransitionAction
function, the entity resolution process is aborted, and the dialog engine will transition to the state defined for this transition action. - New functions to create table, form and tableForm message payloads: The ODA conversation message model has been extended with 3 new message types to render data in a table, form, or tableForm layout. These new functions allow you to create these message types using the SDK. See Conversation Messaging for more information.
- The
context.translate
function did not work correctly with ICU message formats that expect a numeric argument. - Code completion didn't work out of the box for Typescript-based component services.
- Support for resource bundles in custom components: The
context.translate
function that was already available for entity event handlers, can now be used with custom components as well. The function takes a resource bundle key and optionally a list of sustitution variables. Note that use of this function requires digital assistant version 21.06 or higher. - Convenience method to get channel type: A new function
context.getChannelType
has been added for both custom components and entity event handler. - Convenience method to add a global action: A new function
messageModel.addGlobalAction
has been added to the message model. This method adds a single globl action without removing any existing global actions.
- Command
bots-node-sdk pack
fails on typescript project.
- Existing channel extensions are being overridden when using
MessageModel.addChannelExtensions
. - Improved typescript typings
- Custom components built with bots-node-sdk version 2.5.1 don't work in embedded container
- Creating typescript project using
bots-node-sdk init --language typescript
failed with error 'no such file or directory'.
- Typescript Support in CLI: When scaffolding a new component service project using the command-line interface, you can now set
--language typescript
as option with thebots-node-sdk init
command. - Docker Support: We have added docker files to component service project scaffolding for easy deployment to docker.
- Custom Component Async Invoke: We have added support for defining custom component
invoke
function asasync
without thedone
callback argument. This is now the recommended way to use theinvoke
function. See Writing Custom Components for more information.
- Improved typescript typings.
- Upgrade to recent versions of node-fetch, typescript, tslint, express, body-parser, @hapi-joi.
- Some typescript typings could not be found due to absolute path references.
- Entity Event Handlers: See Writing Entity Event Handlers for more information. Note that this feature requires ODA platform version 21.02.
- The headerText property cannot not be set when creating conversation messages using MessageModel class.
- Add support for keywords when creating conversation messages using MessageModel class.
- Allow custom component metadata function to be defined as JSONobject.