0.0.8 • Published 11 months ago

@chatally/console v0.0.8

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

@chatally/console

ChatAlly Console Server that reads input from the console, dispatches it to a chat application and outputs responses on the console.

You can configure the displayName, prompt, greeting, goodBye and the stopToken simply by setting these properties. There are also some colors you can configure: nameColor, promptColor and responseColor.

This package is meant to be used within a ChatAlly chatbot application.

Usage

Install the package

npm install @chatally/console

Create a console server and start listening

import { ConsoleServer } from '@chatally/console'

new ConsoleServer(async (req, res) => {
  res.end(`You said: '${req.text}'`)
}).listen()

Documentation

Find the full documentation at https://chatally.org/reference/servers/console.

0.0.8

11 months ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago