Contextual Graph Knowledge Base, basically a graph brain for my bot, based off this crap This is still a work in progress.
# install this npm packagenpm 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 python3python -m pip install -U socketIO-clientpython -m pip install -U spacypython -m spacy.en.download# Download and install neo4j# Start the neo4j server
Then populate your db credentials in
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.
Inspect a node for more parsed NLP info.