Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@happyml/browser-side-actions

Package Overview
Dependencies
Maintainers
2
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@happyml/browser-side-actions

A library for creating and managing happyml browser side actions

latest
Source
npmnpm
Version
0.4.8
Version published
Weekly downloads
75
66.67%
Maintainers
2
Weekly downloads
 
Created
Source

HappyML Browser Side Actions

This package enables the execution of browser side actions for a HappyML chatbot.

Installation

npm install @happyml/browser-side-actions

Usage

import { ChatWidget } from "@happyml/browser-side-actions";

Example

import React from "react";
import { ChatWidget } from "@happyml/browser-side-actions";

function App() {
  return <ChatWidget botId="your-bot-id" chatId="your-chat-id" />;
}

ChatWidget Properties

PropertyTypeRequiredDescription
botIdstringYesUnique identifier for the HappyML chatbot.
chatIdstringNoIdentifier for an existing chat session. Set to null or omit for a new session.

Keywords

ai

FAQs

Package last updated on 27 Feb 2024

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