npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@jovotech/model-google

v4.0.3

Published

Jovo Model for Google Conversational Actions.

Downloads

162

Readme

Jovo Model: Google Assistant

Learn how to turn the Jovo Model into a Conversational Actions model for Google Assistant.

Introduction

Google Assistant Conversational Actions are a new way to build Google Actions that don't require Dialogflow as NLU service. You can either manage the language models via API (what the Jovo CLI is doing during deployment) or in the Actions Builder console, which offers a graphical user interface.

Learn more about the structure in the official Conversational Actions documentation. The Jovo Model can be translated into this structure by using the jovo build command (see below) or the npm package (see below).

Google Assistant-specific Elements in the Jovo Model

This section provides an overview of how the Jovo Model see general structure in the main Jovo Model docs can be extended with platform-specific content for Google Assistant.

Invocation

You can define a Google Assistant-specific invocation name like this:

"invocation": {
  "googleAssistant": "my test action"
  // Other platforms
},

Built-in Types

Find all built-in types in the official Conversational Action System Types Reference.

If your intent uses an entity (see how they are added to the Jovo Model) that requires a Google Assistant system type, you can add it like this:

"entities": [
  {
    "name": "number",
    "type": {
      "googleAssistant": "actions.type.Number"
    }
  }
]

Google Assistant-only Elements

Some elements (intents, types) might be required only by the Google Assistant portion of your Jovo project. For this you can add a googleAssistant object to your Jovo Model.

"googleAssistant": {
  "custom": {
    "global": {
      "actions.intent.MAIN": {
        "handler": {
          "webhookHandler": "Jovo"
        }
      }
    },
    "intents": {
      "TestIntent": {
        "trainingPhrases": [
          "Hello World"
        ]
      }
    }
  }
}

This object follows the structure of the Google Assistant Model .yaml files in JSON format.

Using the Google Assistant Jovo Model with the Jovo CLI

By using the jovo build command, you can turn your Jovo Model files in the models folder in your Jovo project into Conversational Action specific files.

Learn more in the Google Assistant platform documentation.

Using the Google Assistant Jovo Model npm Package

Install the package like this:

$ npm install @jovotech/model-googleassistant

You can learn more about all the Jovo Model features here: Using the Jovo Model npm Packages.