Questions tagged [api-ai]

Api.ai has been renamed to Dialogflow and is a Conversational User Experience Platform. Build brand-unique, natural language interactions for bots, applications, services, and devices.

169 questions
5
votes
3 answers

Error on Google Assistant while no error on Dialogflow

I created a chatbot which informs the user about the members of my (extended) family and about where they are living. I have created a small database with MySQL which has these data stored and I fetch them with a PHP script whenever this is…
Outcast
  • 4,967
  • 5
  • 44
  • 99
5
votes
1 answer

DialogFlow V2 Webhook - Expects Speech responses Immediately and not after async requests

I have a DialogFlow V2 node.js webhook. I have an intent that is called with a webhook action: const { WebhookClient } = require('dialogflow-fulfillment'); const app = new WebhookClient({request: req, response: res}); function exampleIntent(app)…
FranticRock
  • 3,233
  • 1
  • 31
  • 56
5
votes
1 answer

Actions on Google Internationalization

Last week during the Google I/O '17, Google annonced that Google Assistant will soon be available in other countries (like France, Germany, Japan...) I'm a french developer and I want to develop a new Action for Google Assistant. Currently it's…
Quentin Dunand
  • 233
  • 2
  • 11
4
votes
2 answers

Force user to relink his/her account

Very simple use case explaining my problem: Given my app asks for a pin for some interactions. Now the user gives me three times a wrong pin. Then, I want to reset his access and force him to re-link his account. I can do this pretty easily in my…
Toni
  • 1,593
  • 1
  • 11
  • 21
4
votes
1 answer

how to get session id on webhook

I'm making assistant app for google home and Android mobile assistant I'm using action-on-google library on webhook which is recommended and handy in my specific case I want to make userEntity from webhook which requires Session Id but I am unable…
Inzamam Malik
  • 3,238
  • 3
  • 29
  • 61
4
votes
2 answers

Emoji in SimpleResponse

https://stackoverflow.com/a/45890852/8413869 from the above answer, I got to know that emojis can be passed in Button formatted text. But I am looking for emojis like google have it in Bubble response. I tried to pass unicode in simple response but…
Sukh
  • 670
  • 5
  • 12
4
votes
4 answers

Webhook generated list fetch option selected by user

I'm pretty new in API.AI and Google Actions. I have a list of items which is generated by a fulfillment. I want to fetch the option selected by user. I've tried reading the documentation but I can't seem to understand…
lemonade
  • 43
  • 3
3
votes
1 answer

Can the intent limit be increased in Dialogflow?

The intent limit per agent is 2,000 as documented on https://cloud.google.com/dialogflow/quotas. So I have multiple questions regarding this: Are the followup intents(hierarchical) counted as an intent? If I have very long conversations created…
3
votes
1 answer

Is there a way to retrieve the conversation history in Dialogflow?

Is there a way to obtain the full conversation between the user and agent. Pretty much similar to what I get by clicking the history tag but programmatically. The point is to save the interaction between user and agent as text. Thank you guys in…
3
votes
1 answer

Google Action with SSML rejected for "having HTML tags"

I submitted my first Action on Google last week. I have written the code using Dialogflow and WebhookClient, and targeted 2 languages - English and Hindi. My Action was approved for English, but got back a "denied" status for Hindi with the review…
Arushi Pant
  • 432
  • 4
  • 9
3
votes
1 answer

Audio Payload Dialogflow (api.ai)

I'm making an action for the Google Assistant. I do have a javascript fullfilment but it's not really a good clear code it works so it's fine. By example, I don't know how to call an intent in js. But on to my question: is it possible to use the…
3
votes
1 answer

Dialogflow retrieving data from Firebase Real time database

Currently I'm working on a mobile app using Ionic and Angular2 with Realtime database service from firebase. I want to make a chatbot using Dialogflow to analyze the user request (i.e. I need a wheelchair) and then analyze the firebase db for any…
3
votes
2 answers

Respond with User timezone/locale from a webhook request

When I receive a user request I would like to respond with a date with the user timezone. Actually, I can only respond with server TZ
StErMi
  • 5,389
  • 5
  • 48
  • 71
3
votes
1 answer

Sending email from node.js using Amazon SES service not working

I am working on a chatbot project using Google Dialogflow on node.js and would like to use Amazon SES but for some reason it is failing and the code I am using is as below: var aws = require('aws-sdk'); var ses = new aws.SES( { …
Mizlul
  • 1
  • 7
  • 41
  • 100
3
votes
2 answers

Do we need to ask Google assistant for permission every time?

I am building an app that requires Device( Google Home/ Phone ) location. Do we need to request for permissions each time?
1
2
3
11 12