Coder Social home page Coder Social logo

actions-on-google / actions-builder-codelab-level-1 Goto Github PK

View Code? Open in Web Editor NEW
11.0 12.0 10.0 12 KB

Actions Builder Codelab (Level 1)

Home Page: https://codelabs.developers.google.com/codelabs/actions-builder-1

License: Apache License 2.0

JavaScript 100.00%

actions-builder-codelab-level-1's Introduction

Actions on Google: Codelab level 1

โš ๏ธ Warning: Conversational Actions will be deprecated on June 13, 2023. For more information, see Conversational Actions Sunset.

Prerequisites

  1. Node.js and NPM
  2. Install the Firebase CLI
    • We recommend using MAJOR version 8, npm install -g firebase-tools@^8.0.0
    • Run firebase login with your Google account

Setup

Actions Console

  1. From the Actions on Google Console, New project > Create project > under What kind of Action do you want to build? > Custom > Blank project

Actions CLI

  1. Install the Actions CLI
  2. Navigate to sdk/settings/settings.yaml, and replace <PROJECT_ID> with your project ID
  3. Run gactions login to login to your account.
  4. Run gactions push to push your project.
  5. Run gactions deploy preview to deploy the project.

Running this Sample

  • You can test your Action on any Google Assistant-enabled device on which the Assistant is signed into the same account used to create this project. Just say or type, "OK Google, talk to my test app".
  • You can also use the Actions on Google Console simulator to test most features and preview on-device behavior.

References & Issues

Contributing

Please read and follow the steps in the CONTRIBUTING.md.

License

See LICENSE.

actions-builder-codelab-level-1's People

Contributors

taycaldwell avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

actions-builder-codelab-level-1's Issues

Send Prompts code wrong format

Code is screenshots does not work
`candidates:

  • first_simple:
    variants:
    - speech: >-
    Before you continue on your quest, would you like your fortune told?
    suggestions:
    • title: 'Yes'
    • title: 'No'
      `

Failed to retrieve function source code

I have this message when i run gactions deploy preview command

"message": "Asset 'webhooks/ActionsOnGoogleFulfillment' cannot be deployed. [Failed to retrieve function source code]"

I dont have logs descripton about the error so i cand undestand the error

Saving changes is not impacting the test

The act of saving changes is not reflected in the test, the changes only reverberate after changing and saving some changes in the settings (for example, modifying the Main Invocation name / modifying the voice)

wrong grammer a bit like this title

Hi

This sentence is wrong on step 5:

When the code successfully , the message updates to "Your Cloud Function deployment is up to date."

It should probably be, When the code is successful,

Chris

Main invocation sample text issue

Sample text provided for user "A wondrous greeting, adventurer! Welcome to the mythical land of Gryffinberg! Based on your clothes, you are not from around these lands. It looks like you're on your way to an epic journey." - the single quote in the word you're causes issues. Easy to spot - but someone may not see it easily.

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.