Coder Social home page Coder Social logo

google-assistant-api-for-liquid-galaxy's Introduction

Google Assistant API for Liquid-Galaxy

npm NPM GitHub stars


GSOC 2019 project

Requirements:

Installation guide (NGROK)

The server needs to be configured on the Liquig Galaxy MASTER

Instructions

IN THE COMPUTER

clone the repository and get into, then install all npm dependencies.

git clone https://github.com/xemyst/Google-Assistant-API-for-liquid-Galaxy
cd Google-Assistant-API-for-liquid-Galaxy
npm install

create the .env variable:

touch .env

and set the following variables:

LG_OCTET= 'the octet of the galaxy network'
VIEWSYNC_PORT= 'viewsync network port, it use to be 45678'
PORT=' the port where you want to run your api'
KMLSERVERADRESS='the address (ip + port) of the machines who runs the KML API SERVER  '

now you can run the webhook:

node index.js

Now open the ngrok:

ngrok http "the webhook port"

Ngrok will show you a black screen with the url of your current session, save the https link, you will need it for the next steps

IN THE DIALOGFLOW UI

  1. create new project in the dialog flow console.
  2. Go to: setting -> Export and Import

In the folder where you clone the repository you will find a folder called "DIALOG FLOW PROJECT", get into.

There you will find a zip file called Liquid-Galaxy.zip

  1. Upload the zip file into the UI by doing click in IMPORT FROM ZIP

  2. Go to the fullfillment window

  3. in the URL field paste the ngrok link, and add '/assistant' like that:

https://f47fa87c.ngrok.io/assistant
  1. click in the save button
  2. ENJOY THE API:)

google-assistant-api-for-liquid-galaxy's People

Contributors

xemyst 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.