Socket
Book a DemoInstallSign in
Socket

cgkb

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cgkb

Contextual Graph Knowledge Base

latest
Source
npmnpm
Version
1.0.9
Version published
Maintainers
1
Created
Source

CGKB npm version CircleCI

Contextual Graph Knowledge Base, basically a graph brain for my bot, based off this crap This is still a work in progress.

Installation

# install this npm package
npm i --save cgkb
# run
./node_modules/cgkb/bin/setup

This runs the background system dependency setups. You may need sudo. The full script can be inspected at bin/setup

# If you prefer to run setup manually
# install spacy in python3
python -m pip install -U socketIO-client
python -m pip install -U spacy
python -m spacy.en.download

# Download and install neo4j
# Start the neo4j server

Then populate your db credentials in config/db.json.

Usage

Still a work in progress. But check out the CGKB branch of aiva to see how it's being used in a bot.

Log on to the Neo4j interface to see the graph.

See the graph in Neo4j

Inspect a node for more parsed NLP info.

Inspect a node for more NLP parsing info

Keywords

graph

FAQs

Package last updated on 11 Nov 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts