create account

The implementation of honest implicit invocation in Google Assistant agents by cm-steem

View this thread on: hive.blogpeakd.comecency.com
· @cm-steem · (edited)
$11.06
The implementation of honest implicit invocation in Google Assistant agents
# What's implicit Invocation?

By launching the Blockchain Activity bot by saying ```"Ok Google, talk to blockchain activity for a recent report" ``` we are explicitly invoking the bot directly - we know the bot and the intent we want to trigger.

Implicit invocation on the other hand is where you ask Google an open ended query like ```"How many transactions do the top 10 blockchains process per 24 hours?"``` and Google looks to see which of its currently published agents can respond & selects the best match, which would be [Blockchain Activity](https://assistant.google.com/services/a/uid/0000003e08d8dba9?hl=en-US&source=web) in this example.

# How can implicit invocation be dishonest?

To match these open queries, you have to provide 'Training phrases' in each Dialogflow intent:

![](https://whaleshares.io/imageupload_data/80bbed0be19922a527d0d1fe81748974b77a7b27)

Training phrases like "back to the main menu" or "show me the list" are appropriate entries for navigating between intents when you've already discovered the bot and are in an active dialog session, however they are entirely inappropriate for implicit invocation.

Users have already accidentally launched the Blockchain Activity agent by saying 'back to the list', potentially disrupting their google assistant experience since they were wanting something like their shopping list but the BA agent jumped in offering cryptocurrency statistics (lol).

# So how can we keep implicit invocation honest?

We want to keep the navigation terms, because they drastically improve the flow of conversation between intent states, however we don't want to include them in implicit invocation.

Currently Google doesn't allow you to disable implicit invocation on an individual training phrase basis (not within dialogflow nor within the 'actions on google' console page. 

You need to split the intent in two - one which contains the implicit invocation phrases and the other which contains the suggestion chip text and important navigation phrases.

The implicit intent once triggered should attempt to perform a [followup](https://actions-on-google.github.io/actions-on-google-nodejs/classes/dialogflow.dialogflowconversation.html#followup) which would immediately send the user to the second intent (note that the follow up ignores all other conv elements, so redirect messages wouldn't show - the user will just teleport to the second intent).

---

Any questions or suggestions for alternative solutions? Post below! 👍

CM

[![](https://whaleshares.io/imageupload_data/4a1ecdd7b3143dec6a532ee6c45fa7397f71f4c8)](https://assistant.google.com/services/a/uid/0000003e08d8dba9?hl=en-US&source=web)
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
properties (23)
authorcm-steem
permlinkthe-implementation-of-honest-implicit-invocation-in-google-assistant-agents
categorybitshares
json_metadata{"tags":["bitshares","blocktivity","google","cryptocurrency","programming"],"image":["https://whaleshares.io/imageupload_data/80bbed0be19922a527d0d1fe81748974b77a7b27","https://whaleshares.io/imageupload_data/4a1ecdd7b3143dec6a532ee6c45fa7397f71f4c8"],"links":["https://assistant.google.com/services/a/uid/0000003e08d8dba9?hl=en-US&source=web","https://actions-on-google.github.io/actions-on-google-nodejs/classes/dialogflow.dialogflowconversation.html#followup"],"app":"steemit/0.1","format":"markdown"}
created2018-08-22 11:19:18
last_update2018-08-22 11:29:00
depth0
children2
last_payout2018-08-29 11:19:18
cashout_time1969-12-31 23:59:59
total_payout_value9.110 HBD
curator_payout_value1.947 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length2,668
author_reputation58,522,774,254,119
root_title"The implementation of honest implicit invocation in Google Assistant agents"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id69,008,200
net_rshares7,839,185,285,511
author_curate_reward""
vote details (41)
@as-abir ·
Delivering great information to get closer to Google
👍  ,
properties (23)
authoras-abir
permlinkre-cm-steem-the-implementation-of-honest-implicit-invocation-in-google-assistant-agents-20180824t173450734z
categorybitshares
json_metadata{"community":"busy","app":"busy/2.5.6","format":"markdown","tags":["bitshares"],"users":[],"links":[],"image":[]}
created2018-08-24 17:34:54
last_update2018-08-24 17:34:54
depth1
children0
last_payout2018-08-31 17:34:54
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length52
author_reputation184,066,483,697
root_title"The implementation of honest implicit invocation in Google Assistant agents"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id69,249,039
net_rshares6,745,524,597
author_curate_reward""
vote details (2)
@prince121 ·
Necessary info about google assistant update...@cm-steem
👍  
properties (23)
authorprince121
permlinkre-cm-steem-the-implementation-of-honest-implicit-invocation-in-google-assistant-agents-20180822t114126765z
categorybitshares
json_metadata{"tags":["bitshares"],"users":["cm-steem"],"app":"steemit/0.1"}
created2018-08-22 11:41:30
last_update2018-08-22 11:41:30
depth1
children0
last_payout2018-08-29 11:41:30
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length56
author_reputation9,555,852,493,310
root_title"The implementation of honest implicit invocation in Google Assistant agents"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id69,009,732
net_rshares12,443,574,839
author_curate_reward""
vote details (1)