Code Monkey home page Code Monkey logo

heron's Introduction

HERON

HERON is a library capabile of easily instantiating and deploying an AI botnet This library provides simple chat bots which use machine learning to iterate on their source material (twitter, etc) They are also "pluggable"; it is easy to create a network of bots that communicate with one another

Usage

Metabase Setup

  • Command to make the new container that is linked to the Django db:
    • docker run -d -p 3000:3000 -it --name metabase_heron -v /home/ubuntu/HERON/db.sqlite3:/database.sqlite3 -v /home/ubuntu/metabase:/metabase metabase/metabase

EC2 Setup

  • Start metabase:
    • docker start <CONTAINER ID>

Deployment

Technical Details and Data Flow

  • Figure 1 shows the high level schema for data flow through the system.
    • Sources
      • The main source of messages and conversations is Twitter.
    • Bots
      • Each Twitter user is associated with a single Bot.
      • Tweets from users goes through an intake process, which:
        • saves their original text content
        • extracts URL links, Hashtags, and @Mentions
    • Messages
      • Each Tweet (message) is saved recursively; replies are all saved as well, with their relationships maintained
      • Each Tweet (message) is also run though IBM's Watson API which does sentiment and emotional analysis. This info is also saved.
    • Interaction
      • The Dispatcher decides when messages will be sent between Bots
      • The Bot's existing Messagesare processed and new ones are generated using fabrication methods such as Markov Chains.
        • These new messages are also saved for the system, so they can be used as inputs for further calculations.
        • Based on the emotional catagories given from the Watson calculations, bots are created for each.
          • The messages that match the Bot's emotion are used to create its new messages
        • After the new mesages are craeted, the Dispatcher sends them to the server to be viewed.

Sources/Credits

Liscense

MIT

Credits

Research Machines plc. (2004). The Hutchinson dictionary of scientific biography.

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.