1.0.9 • Published 2 years ago

arneo-bot v1.0.9

Weekly downloads
-
License
LGPL-3.0-or-later
Repository
-
Last release
2 years ago

Custom Chatbot - Experimental

Description

This package is a scafolding to create a custom chatbot using OpenAI Api. It is still in development and not ready to be used in production.

Requirements

You need an OpenAI Api key to use this package. You can get one here.

Installation

Follow the steps below to install the package.

npm install
npm run dev

Parameters

Adjust parameters of your chatbot in the main.js file.

const chat = new siteBot({
  apiKey: "OPEN_AI_API_KEY",
  name: "Test AI",
  description: "test",
  welcomeMessage: "Please don't use me in Prod",
  context: ``,
  color: "#5426b1",
  icon: 'https://cdn.dribbble.com/userupload/11557287/file/original-256bc5a3829747ce376fbd5b33ea83ce.jpg?resize=2048x1536'
});

All parameters

ParameterDescriptionDefaultType
apiKeyOpenAI Api Keynullstring
nameName of the chatbotnullstring
descriptionDescription of the chatbotnullstring
welcomeMessageWelcome message of the chatbotnullstring
contextContext of the chatbotnullstring
colorColor of the chatbotnullstring
iconIcon of the chatbotnullstring

Usage

For building the package for 'npm publish' use the following command.

npm run build
1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago