New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@project-sunbird/chatbot-client

Package Overview
Dependencies
Maintainers
10
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@project-sunbird/chatbot-client

This is build as Angular library. Where this angular library can be integrated into any angular application(like sunbird portal). Once we integrate this library into portal user can interact with bot for his queries by navigating through the options provi

  • 3.0.2
  • npm
  • Socket score

Version published
Weekly downloads
10
decreased by-54.55%
Maintainers
10
Weekly downloads
 
Created
Source

Sunbird bot client application

This is build as Angular library. Where this angular library can be integrated into any angular application(like sunbird portal). Once we integrate this library into portal user can interact with bot for his queries by navigating through the options provided by the bot.

Getting Started

To integrate the chatbot client library into portal use the below steps

Step 1: Install the package

npm i sunbird-chatbot-client --save

Step 2: Import the modules and components

Import the NgModule for each component you want to use:

import {ChatLibModule, ChatLibService} from 'sunbird-chatbot-client';

@NgModule({
    ...
    
    imports: [ChatLibModule],
    
    ...
})

Step 3: Add the library component to the HTML page

<lib-chat-window [inputValues]="botConfig"></lib-chat-window>

botConfig properties:

chatbotUrl: string  -> API endpoint for server communication to get the response for the user input
appId: string       -> For Telemetry - Unique application indentifier 
userId: string      -> For telemetry - User details who is interacting with the bot
did: string         -> For telemetry - Unique device string for telemetry to log
channel: string     -> For telemetry - Unique channel string to identify the use belongs to which tenant

Available components

FeatureNotesSelector
Chat WindowChat Window for Chat Botlib-chat-window
Chat Message ListChat Messages Get Listed in Widgetlib-chat-message-list
Chat MessageLibrary Chat Message Componentlib-chat-message
Chat Message Bottom BarCan be used in the course page for all consumption platformslib-chat-message-bottom-bar

Versions

release branchnpm package versionAngular Version
release-5.1.0_v103.0.1NG V10

FAQs

Package last updated on 23 Nov 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc