npm

Share private packages across your team with npm Orgs, now with simplified billing via the aws marketplace!Learn more »

brobbot-impersonate

1.3.0 • Public • Published

brobbot-impersonate

Enable Brobbot to learn from chat history and impersonate users.

Bob: pizza is super good
Alice: brobbot impersonate bob
Brobbot: impersonating Bob
Eve: I love pizza
Brobbot: pizza is super
...

Model

Currently uses simple Markov chain based on markov-respond.

Configuration

Maximum number of unique words

Limit the size of the Markov chain (it grows very quickly) to N unique words per-user (default 250).

BROBBOT_IMPERSONATE_MAX_WORDS=N

Case sensitivity

Whether to keep the original case of words. (default false)

BROBBOT_IMPERSONATE_CASE_SENSITIVE=true|false

Strip punctuation

Whether to strip punctuation/symbols from messages. (default false)

BROBBOT_IMPERSONATE_STRIP_PUNCTUATION=true|false

Default response

The default response to use if the markov chain produces an empty string. (default '...')

BROBBOT_IMPERSONATE_DEFAULT_RESPONSE="something clever"

Order

The order of the markov chain (positive int). Higher order will produce responses closer to the input text. (default 1) Changing the order will invalidate your existing model!

BROBBOT_IMPERSONATE_ORDER=2

Commands

Impersonate

Start impersonating <user>.

brobbot impersonate <user>

Stop

Stop impersonating.

brobbot stop impersonating

install

npm i brobbot-impersonate

Downloadsweekly downloads

0

version

1.3.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability