Skip to content

Instantly share code, notes, and snippets.

@DazWilkin
Last active January 8, 2018 00:54
Show Gist options
  • Save DazWilkin/f7d5a284a3d49071d678bb41df87d326 to your computer and use it in GitHub Desktop.
Save DazWilkin/f7d5a284a3d49071d678bb41df87d326 to your computer and use it in GitHub Desktop.
First (Worst?) Google Assistant app
{
"actions": [
{
"description": "Default Welcome Intent",
"name": "MAIN",
"fulfillment": {
"conversationName": "silly"
},
"intent": {
"name": "actions.intent.MAIN",
"trigger": {
"queryPatterns": [
"talk to silly"
]
}
}
},
{
"description": "DAZ",
"name": "DAZ",
"fulfillment": {
"conversationName": "silly"
},
"intent":{
"name": "com.dazwilkin.actions.DAZ",
"trigger": {
"queryPatterns": [
"What does this app do?",
"How is Daz?",
"What would Daz do?",
"What does Daz like to do?"
]
}
}
},
{
"description": "HENRY",
"name": "HENRY",
"fulfillment": {
"conversationName": "silly"
},
"intent":{
"name": "com.dazwilkin.actions.HENRY",
"trigger": {
"queryPatterns": [
"How is Henry?",
"What would Henry do?",
"What does Henry like to do?"
]
}
}
},
{
"description": "TEXT",
"name": "TEXT",
"fulfillment": {
"conversationName": "silly"
},
"intent": {
"name": "com.dazwilkin.actions.TEXT",
"trigger": {
"queryPatterns": [
"Let's talk about something else!"
]
}
}
}
],
"conversations": {
"silly": {
"name": "silly",
"url": "https://us-central1-[[PROJECT-ID]].cloudfunctions.net/silly",
"fulfillmentApiVersion": 2
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment