Giter VIP home page Giter VIP logo

neo4j-alexa-skills's Introduction

neo4j-alexa-skills

Amazon Echo Alexa Skills for querying Neo4j

Deploy

Complete tutorial

https://docs.google.com/document/d/1OdVme2kIhOXqbhHYSA2e_d07zjDs7M19sDuXmxJXKOM/edit

Very quick start

Link to quickstart tutorial

Run locally

# install php7 locally in one line :
curl -s https://php-osx.liip.ch/install.sh | bash -s 7.1

# install composer dependency manager
wget https://getcomposer.org/download/1.4.1/composer.phar
sudo mv composer.phar /usr/bin/composer

# install project dependencies
composer install

# run the stack
docker-compose up

Skills

This is the Skill-APP URL to configure: https://neo4j-alexa-skills.herokuapp.com/intent

Skills: see also skills.json

"Computer, ask Cypher ..."

  • nodeCount: "Count {nodeLabel} nodes"
  • findBetween: "Who is between {first} and {second} in {database}"
  • neighbours: "What is {type} node {name} in {database}"

Database Prep

For instance create an alexa:alexa user on sandbox databases and use them.

Also run this procedure call (on the labels + properties in your database).

call apoc.index.addAllNodes('search',{Person:['name'],Organization:['name']})

Configuration

You configure databases to select from via heroku config

the _name suffix is used to select the database to search in.

heroku config:set NEO4J_URL_community=http://alexa:[email protected]:7474
heroku config:set NEO4J_URL_movies=http://alexa:[email protected]:33296
heroku config:set NEO4J_URL_panamapapers=http://alexa:[email protected]:33568
heroku config:set NEO4J_URL_trumpworld=http://alexa:[email protected]:32874

neo4j-alexa-skills's People

Contributors

ikwattro avatar jexp avatar

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.