GithubHelp home page GithubHelp logo

kappaio's Introduction

INTRODUCTION

KappaIO is an AI bot based on 2nd up to 5th order Markov model. It uses an SQLite database for storage.

KappaIO was designed to learn from TwitchTV channels and talk.

kappaio's People

Contributors

paralin avatar

Stargazers

Kenneth Iversen avatar Jerzerak avatar  avatar

Watchers

 avatar

kappaio's Issues

How to get the bot to produce a message?

When I first mentioned the bot in chat, I got a message like the one in issue #1. Since then, however, no amount of mentions can get any response from it. Using the command prefix causes unknown command errors. Am I missing something? Can I get a rundown on all the commands?

0 associations

Sorry for putting up the issue, but I was trying kappaIO out and it wouldn't respond ever.
kappaio.db got over 2000 words but everytime I try to get it to reply, it outputs:

got 0 association pairs
creativity expansion complete
generated  0 candidate answers

Using "set" command causes bot to crash

Whenever I try to use the "set" command (i.e. >set KonCha Squid1 Squid2 BibleThump Squid4), it crashes the bot.

SyntaxError: Unexpected token S in JSON at position 0
    at JSON.parse (<anonymous>)
    at Object.cmds.set (/home/ec2-user/KappaIO/modules/admin.js:103:24)
    at Stream.<anonymous> (/home/ec2-user/KappaIO/modules/admin.js:39:18)
    at Stream.emit (events.js:185:15)
    at Stream.<anonymous> (/home/ec2-user/KappaIO/node_modules/ircee/lib/ircee.js:31:14)
    at Stream.emit (events.js:180:13)
    at Stream.<anonymous> (/home/ec2-user/KappaIO/node_modules/ircee/node_modules/split/index.js:35:16)
    at Stream.stream.write (/home/ec2-user/KappaIO/node_modules/ircee/node_modules/through/index.js:25:11)
    at Stream.method [as write] (/home/ec2-user/KappaIO/node_modules/duplexer/index.js:37:39)
    at Socket.ondata (_stream_readable.js:651:20)
Child exit with status code 1 , reloading
child: connecting to ipc channel { path: '/tmp/triplie-16162.sock' }
parent: child process connected
Connection closed, trying to reconnect...

I might be reading the code wrong, but I believe the val parameter is never passed to cmds.set, so it attempts to parse a null value.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.