r/GoogleAssistantDev • • May 24 '19

voice-design Conversational Maxims - Design for Voice

Thumbnail
pca.st
4 Upvotes

r/GoogleAssistantDev • • May 21 '19

How to integrate Google Assistant with a custom bluetooth-only device?

4 Upvotes

I want to develop my own bluetooth device similar to "C by GE" light bulbs which use bluetooth protocol and don't require any hub. How does discovery and fulfillment work in this case? Is there any documentation or examples of using this technology?


r/GoogleAssistantDev • • May 13 '19

smart-home Source code and instructions for the Google I/O garden and cookie jar demos

Thumbnail
github.com
4 Upvotes

r/GoogleAssistantDev • • May 13 '19

Topics of Google Assistant on Google I/O 2019

Thumbnail
medium.com
4 Upvotes

r/GoogleAssistantDev • • May 12 '19

voice-design Usability Testing for Voice

Thumbnail
voicetechpodcast.com
4 Upvotes

r/GoogleAssistantDev • • May 07 '19

Google I/O Live: Prototyping Voice Experiences: Design Sprints for the Google Assistant

Thumbnail
events.google.com
4 Upvotes

r/GoogleAssistantDev • • May 07 '19

Actions on Google at I/O 2019: New tools for web, mobile, and smart home developers

Thumbnail
developers.googleblog.com
4 Upvotes

r/GoogleAssistantDev • • May 02 '19

voice-design Approaches for Dialog Management in Conversational Agents

Thumbnail
ieeexplore.ieee.org
4 Upvotes

r/GoogleAssistantDev • • Apr 25 '19

How can I use Transactions API when there is no way to complete the transaction using any online payment method

4 Upvotes

We are facing a strange problem. Our action was rejected because it does not use Transactions API. Our action is about ordering a insurance policy simulation and ends up with providing contact details so that the contact center can confirm the details and in some cases eventually sell the insurance policy. There is no way though to avoid contacting contact center or to actually buy the policy inside the action as the insurance agency does not provide any transaction api - that is why we haven't integrated Transactions API in the first place.

The review response we got is: Your Action is misleading users due to false or misleading information in your its description or conversational dialogue. Thank you for choosing Actions on Google. We are sorry to inform you that your app has been rejected.

  1. Your app facilitates transactions without implementing the transactions API. Please note that any app completing transactions (paid or non-paid) must use the Transactions API. In your case, you must use the Transactions API even if it's only a simulation of the travel insurance order or call appointment with the consultant. or more information about transactions policy, please visit: https://developers.google.com/actions/policies/general-policies#transactions

Is there any way we can get around integrating Transactions Api? If there is none, what would be the best way to do it in our case, when the actual payment cannot occur in the action? We came across the option to use Physical Transactions with Merchant-managed payments + payment option "pay on delivery" (on_fulfillment) - to avoid having to make actual payment process. Would that solution comply with the guidelines and be okay when it comes to the review process?


r/GoogleAssistantDev • • Apr 24 '19

actions-on-google Tasty Actions for Google Assistant won 2019 People's Voice Webby in the App, Mobile, and Voice - Food & Drink category

Thumbnail
webbyawards.com
4 Upvotes

r/GoogleAssistantDev • • Apr 20 '19

Can I switch TTS voices between replies to the user?

4 Upvotes

I am making a game. I want to use multiple voices in the game to represent different NPC characters. However, I want them to be all TTS voices (Text to Speech). In other words, I don't want to have to record audio waveform files to have multiple voices due to the burden this would create since there is a lot of text in my game.

Note, I do not need to change voices during the same reply to the user. (e.g. - If the reply has two sentences, have one voice for the first sentence, a different for the second. I don't need to do that but of course it would be interesting if I could).

Can I do this with the AoG SDK, specify a particular TTS voice for the current reply to the user? Or is the TTS voice that outputs my reply fixed by the user and only they can change it?

If I can change it, please link me to the AoG docs page that tells me how to do this. If you know of a code sample that shows this, that would be even better.


r/GoogleAssistantDev • • Apr 10 '19

Google Home device not triggering MEDIA_STATUS event after playing Media Response

4 Upvotes

Greetings:

I am working on an action that sends a Media Response to the user with an MP3 file, then does additional webhook-side processing after the file finishes playing, by having an action triggered by the actions_intent_MEDIA_STATUS event. I have tested this with the Google Assistant on the Simulator, Android and Home. Until yesterday, it worked perfectly across all devices.

However, when I ran some tests earlier today with Google Home, the device stopped triggering the actions_intent_MEDIA_STATUS event that allowed the regular behavior of the Action I am currently working on. I have tested again on the Simulator and Android, with both platforms performing as expected by triggering the MEDIA_STATUS event after they finish playing the Media Response file.

I know it is not my webhook server because when I use Google Home the logs show no HTTP requests after the media finishes playing, and the Dialogflow logs show that they do not receive the MEDIA_STATUS event.

Any ideas as to what might be going on, and what can I do to fix this? Thanks in advance.


r/GoogleAssistantDev • • Apr 10 '19

Building Personas with Wally Brill - Design for Voice podcast

Thumbnail
pca.st
4 Upvotes

r/GoogleAssistantDev • • Apr 03 '19

TRANSACTION_REQUIREMENTS_CHECK_RESULT returns USER_ACTION_REQUIRED

4 Upvotes

Hi Guys!

I'm following this guide to see how to buy physical goods using Google Assistant.

My problem is that I do not understand the response of TRANSACTION_REQUIREMENTS_CHECK_RESULT intent.

I can successfully trigger an intent to check requirements using googleProdivedOptions:

conv.ask(new TransactionRequirements({
  orderOptions: {
    requestDeliveryAddress: false,
  },
  paymentOptions: {
    googleProvidedOptions: {
      prepaidCardDisallowed: false,
      supportedCardNetworks: ['VISA', 'AMEX', 'DISCOVER', 'MASTERCARD'],
      tokenizationParameters: {
        tokenizationType: 'PAYMENT_GATEWAY',
        // These will be provided by payment processor,
        // like Stripe, Braintree, Vantiv, Ayden, etc.
        parameters: {
          'gateway': 'stripe',
          'stripe:publishableKey': (conv.sandbox ? 'pk_test_key' : 'pk_live_key'),
          'stripe:version': '2018-11-08'
        },
      },
    },
  },
}));

But when checking the results of a requirements check I got resultType: 'USER_ACTION_REQUIRED' instead of expected resultType: 'OK'.

Here is the code for checking results of requirements check:

const arg = conv.arguments.get('TRANSACTION_REQUIREMENTS_CHECK_RESULT');
  if (arg && arg.resultType ==='OK') {
  // Normally take the user through cart building flow
    conv.ask(`Looks like you're good to go! ` +
      `Try saying "Get Delivery Address".`);
  } else {
    conv.close('Transaction failed.');
}

And here is associated log entry from Firebase function log:

{ '@type': 'type.googleapis.com/google.actions.v2.TransactionRequirementsCheckResult', resultType: 'USER_ACTION_REQUIRED' }

I'm not sure how to handle USER_ACTION_REQUIRED response and what prerequisites should be met.

Also it's not obvious for me how to properly set tokenizationParameters parameters and where to get them.

Could you please point me in the right direction?

Thanks,

Alex


r/GoogleAssistantDev • • Mar 26 '19

Send a message via Google Assistant

4 Upvotes

Hey everyone, our team would like to integrate feature to send a message via Google Assistant in our messenger app. We want to support sending text and voice messages with voice via GA. Unfortunately we cannot find a way how to add our app to list of applications supporting sending messages. Official documentation doesn't mention it at all, but there are some apps already supporting it (as WeChat, Viber, etc.).
Does anyone have experience with it?


r/GoogleAssistantDev • • Mar 19 '19

Personalize for each user & device: the magic Conversation object

Thumbnail
medium.com
4 Upvotes

r/GoogleAssistantDev • • Mar 06 '19

actions-on-google A new code sample showing how to create digital goods for users to purchase

Thumbnail
github.com
4 Upvotes

r/GoogleAssistantDev • • Apr 25 '24

Trigger actions from Grafana Alerts

3 Upvotes

I have a Grafana instance where I have configured alarms. One example is detecting the humidity in the bathroom to detect the shower starting. I would like to use this alarm to have the Google Home Assistant Mini in the bathroom to start playing music.

I can trigger webhooks/make API call from the Alert Manager, but Im unable to find any documentation on APIs to achieve this. Has anyone else achieved something similar?


r/GoogleAssistantDev • • Apr 04 '24

I'll pay to have my Assistant revert from Gemini on my Pixel!!!

3 Upvotes

Mistakes were MADE! I like so many people fell into the "Try as Gemini" trap, I now can't seem to figure out how to revert the App to a previous state. So my daily phone Pixel7a is no longer my alarm because it's world breaking that my old morning routine on alarm is gone!

Stupidly I also pay for Gemini (from it's beta) which can't handle Routines like my Google Assistant. I used to be able to say "Play Today's News" to start my day, but now that functionality seems to be missing.

I'd like my assistant back, this is earth shattering enough for me to now consider those cheeky iFruits from Apricot because at least there upgrades don't break how I use my MacBook.


r/GoogleAssistantDev • • Jan 08 '24

I was frustrated that syncing with Bring wasn't an option anymore. So I made my own solution!

3 Upvotes

As google announced they remove the ability to sync the shopping list with Bring I was really disappointed. Google Keep wasn't an alternative for my shopping list so I stopped using the google assistant for my shopping list.

Some days ago I came across a unofficial keep and bring library, so I coded my own sync service. First I had some troubles login in my google account because there is no official way as mentioned before (except for business accounts). But I got it working eventually. Now both lists are synced bidirectional every hour.

If you want to host it for your self the source code is public: https://github.com/Swaggeroo/GKeepBringSync
Keep in mind it isn't perfect and (maybe) needs some steps to setup.


r/GoogleAssistantDev • • Oct 25 '23

google conversation alternatives?

3 Upvotes

I used to have a custom conversation setup for my personal google home where I had build a fairly simple conversation path that would message my backend (C#) app that I had hosted locally. It would process the various conversation commands and send back text to google for the assistant to respond with.
If I remember correctly I had to add an extra line to the "hey google" such as "hey google talk to my test storage" after the first command, commands would be things like: "add X of y to my test storage" "remove x of y from my test storage" "how much y is there in test storage"

or whatever you want. There was a simple DB on the backend for storing info and the code did some process for more complex commands.

I recently wanted to get back into writing my own custom voice commands for my home network and saw that conversations were depricated.

Is there any valid alternative to this now? Any way to use google assistant to interact in the way mentioned above?


r/GoogleAssistantDev • • Sep 18 '23

Google Assistant App Action

3 Upvotes

Hi All,

I've successfully implemented Google Assistant into my app and received approval for my App Actions. However, I've encountered a specific issue. When I tested my application using my app's published Google account, everything worked perfectly. However, when I tried using a different Google account, I noticed that app shortcuts were created, and voice commands worked as expected. The problem I encountered is that when using voice commands with the alternate account, my app's foreground activity is destroyed and recreated.

I've defined a foreground app innovation in my shortcuts.xml file to address this issue, but it hasn't resolved the problem. I've spent considerable time troubleshooting this, but unfortunately, I haven't found a solution yet. If you have any insights or suggestions that could help me resolve this issue, I would greatly appreciate your assistance. Thank you so much in advance.


r/GoogleAssistantDev • • Jul 24 '23

Google Assistant Dead?

3 Upvotes

So is this a product that Google will kill soon? The assistant keeps getting worse and worse as it ages like Developers are making it purposely bad so people can stop using it and Google has an excuse to kill it?

It's awful in all my devices (home, mobile, and specially on the earbuds). This thing it's just plain unusable... Resetting and uninstalling the app no longer fixes the issues... It's just hogging space on my devices at this point...


r/GoogleAssistantDev • • Jul 16 '23

Assistant Getting Dumber?

3 Upvotes

I don't know what happened but fairly recently my Google assistant(Samsung Galaxy S23 Ultra) has been doing worse and worse with commands I've used successfully for years.

If I pause my TV with my TV remote and wish to unpause/resume with my assistant... "Hey Google unpause my TV" responds with "Nothing is playing on TV" BUT if I say "Hey Google pause my TV" it'll unpause the TV and resume playing.

My light controls have also become far more clunky for instance "Hey Google Shazam"(run great room lights to daylight color at 100% brightness), it'll slowly change all 10 lights to the right color, then painfully slowly correct the brightness. Used to be nearly instant without the weird individual steps.

Routines that I've been running for the last 2 years are all just getting worse and worse.

Is there something that changed that's causing all this idiocy? It used to be great, now it's becoming a pain.


r/GoogleAssistantDev • • Jul 09 '23

Routines and Conditions

3 Upvotes

I am trying to set up a morning routine and feel like I'm losing my mind.
Is there certain language or input commands for the "try adding your own" section of Routines that Assistant would be able to understand?
In a perfect world it would be able to run a "if this, then that" routine but I know that Routines doesn't have that functionality (i.e. if response "no" then set alarm for 10 minutes)

I am more or less trying to set up a morning routine that would:
Open my Tasks app on my phone when it is at the end of its routine.

Or is there a way within Routines for it to carry out another command as if it was prompted by "Hey, Google"?
If there's a certain phrasing I should be using, please let me know! My sanity thanks you!