Lib

Description:
  • SDK 'Lib' exposing core classes, etc.
Source:
SDK 'Lib' exposing core classes, etc.

Example

const OracleBot = require('@oracle/bots-node-sdk');

 export class MyCustomComponent extends OracleBot.Lib.ComponentAbstract {
   metadata() {
     return {
       name: 'my.custom.component',
       properties: {},
       supportedActions: []
     };
   }
   invoke(conversation, done) {
     // ...
   }
 }

Classes

BaseContext
CustomComponentContext
DataQueryContext
EntityResolutionContext
LlmComponentContext
LlmTransformationContext
MessageModel