主教程
https://explosion.ai/blog/chatbot-node-js-spacy
构建虚拟环境
https://virtualenv.pypa.io/en/latest/user_guide.html
cd myproject
virtualenv venv
source venv/bin/activate #进入
deactivate #退出
(venv) chunleizhang@Mac~/lib/aiva
用npm开启aiva
npm install
npm run setup
npm start --debug
编辑aiva设置文件
vi config/default.json
Start the bot
npm start --debug
neo4j brain
开关neo4j服务
neo4j start
neo4j stop
http://localhost:7474/browser/
https://neo4j.com/docs/getting-started/3.5/cypher-intro/load-csv/
LOAD CSV WITH HEADERS FROM “file:///persons.csv” AS csvLine
CREATE (p:Person {id: toInteger(csvLine.id), name: csvLine.name})
/usr/local/Cellar/neo4j/3.5.3/libexec/import