Coder Social home page Coder Social logo

pravsonawane / hello-actions-nodejs-apiai-kotlin Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 1.0 370 KB

A hello world example of Actions on Google using NodeJS, api.ai and Kotlin

License: Apache License 2.0

JavaScript 87.93% Kotlin 12.07%
apiai nodejs google-actions kotlin hello-world javascript tutorial sample google-assistant

hello-actions-nodejs-apiai-kotlin's Introduction

Actions on Google: Number Repeater Sample using Node.js, API AI and Kotlin

This is a super simple Assistant app, built using API.AI and Node.js and Kotlin, to demonstrate how Apps for the Google Assistant can be written using Kotlin. This app simply requests the user to enter/say a number and repeats it.

Setup Instructions

Steps

  1. Use the Actions on Google Console to add a new project with a name of your choosing.
  2. Click "Use API.AI" and then "Create Actions on API.AI".
  3. Click "Save" to save the project.
  4. Click on the gear icon to see the project settings.
  5. Select "Export and Import".
  6. Select "Restore from zip". Follow the directions to restore from the hello-actions.zip in this repo.
  7. Deploy the fulfillment webhook to your preferred hosting environment (we recommend Google Cloud Functions).
  8. In the Fulfillment page of the API.AI console, enable Webhook, set the URL to the hosting URL, then save.
  9. In the make_name intent, check “End Conversation” for Actions on Google, then Save.
  10. Open API.AI's Integrations page, open the Settings menu for Actions on Google, then click Test.
  11. Click View to open the Actions on Google simulator.
  12. Type "Talk to my test app" in the simulator, or say "OK Google, talk to my test app" to any Actions on Google enabled device signed into your developer account.

License

See LICENSE.md.

Google+

Actions on Google Developers Community on Google+ https://g.co/actionsdev.

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.