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
1
vote
0 answers

Body of response with statuscode 401

I'm trying to enable some kind of "voice unlinking" (which should remove the access token from the google assistant) for my google action. I'm using the webhook fulfillment via Dialogflow and I'd like to send a response text like "Okay, your account…
Jan
  • 99
  • 5
1
vote
2 answers

how to call a event in the dialogflow v2 :nodejs

I'm using dialogflow v2 using npm. I just want call a welcome event in dialogflow. How can I do it in the nodejs. I'm pretty new to it. This is my code const projectId = "xxxxxx"; const LANGUAGE_CODE = 'en-US'; const sessionId =…
raj_tx
  • 229
  • 1
  • 5
  • 18
1
vote
2 answers

How to get a sessionId- dialogflow

I am trying to get sessionId from response object but is that an efficient way or are there any other possibilities to get the session Id or sessions object? For example: request.body.session:…
manu
  • 21
  • 1
  • 4
1
vote
1 answer

Google home device not recognizing the app name however it is working through simulator

We tried to access our application using Google Home Device. So, it did not understand the command. If I try the same through test simulator provided by assistant console, it is working fine. Also, once our application is triggered through the…
vikash singh
  • 1,479
  • 1
  • 19
  • 29
1
vote
1 answer

Google Assistant Dialogflow API V2 webhook ETag error

I'm trying to return simple text response and display a basic card within Google Assistant app using the following code: public GoogleCloudDialogflowV2WebhookResponse Search(GoogleCloudDialogflowV2WebhookRequest request) { …
OlegR
  • 195
  • 1
  • 10
1
vote
0 answers

DialogFlow v2 fulfillmentMessages

I'm trying to respond to users with news cards but as far as I can see if I follow your example it does not work. If I just respond with fulfillmentMessages like this res.json({ "fulfillmentMessages": [ { "card": { …
StErMi
  • 5,389
  • 5
  • 48
  • 71
1
vote
0 answers

How to set context in DialogFlow java client v2

Setting the context with dialogflow javaclient v1 is well explained. v1 maven dependency being : ai.api.libai.samples libai-samples 1.6.12 I am trying to use the v2 of javaclient of google-cloud-dataflow. com.google.cloud …
1
vote
2 answers

Identify unique user in Dialogflow V1

So I am testing out Dialogflow and one of the first questions I have is: how does my bot know who it is talking to? I need to identify a user and keep that information for as long as I can. The basic scenario being: User starts his/her first…
1
vote
1 answer

Set Dialogflow response object based on user platform

I have a webhook server that responds to Dialogflow with rich message objects, which work on the Google Assistant. However, in the case the user chatting with my bot from a different platform other than Google Assitant, such as the web or Amazon…
Shaikat Haque
  • 149
  • 1
  • 9
1
vote
0 answers

How to use the full dialogflow API functionality (and get speech recognition accuracy) through google assistant/google home?

I have a dialog agent created through DialogFlow. I want to have a conversation with this agent on a Google Home device. The problem: The dialogflow API (ex. dialogflow-nodejs-client-v2) gives full access to agents built in DialogFlow. Most…
lakhesis
  • 111
  • 1
  • 1
  • 7
1
vote
1 answer

Webhook Global Variable

I have created a node.js webhook for my facebook messenger bot. The bot is built in dialog flow and the database is connected to firebase. My question when a function is invoked in the webhook to log in, after logging in, I get a userID from the…
1
vote
1 answer

Change the way the assistant reads out numbers

Is there a way to change how google assistant reads out numbers? For example, 108 is a number, and assistant reads it out as "one hundred eight." Here, instead of "one hundred eight" I want the assistant to speak like "one oh eight".
miserable
  • 697
  • 1
  • 12
  • 31
1
vote
1 answer

how to make intent configured for updates(push notfications) in google actions?

I have followed all the steps given on https://developers.google.com/actions/assistant/updates but when I'm trying to test the conversation send api https://actions.googleapis.com/v2/conversations:send?access_token="My_Access_Token" I'm getting…
1
vote
1 answer

Does the Facebook customer chat plugin support webviews within the same page?

I have a DialogFlow chat bot set up with Facebook integration and I am also using the Customer Chat Plugin. For my chatbot integration I have the bot responding with URL buttons and the webview attributes. This causes the url to load within the…
1
vote
1 answer

dialogflow (api.ai) intent redirection for translate webhook

I'm trying to use a Translate API webhook to enable multi-language functionality in my DialogFlow agent. The intents are configured in English When text is input to the bot in any other language, it goes to the Default Fallback Intent where the…
mlnewbie
  • 35
  • 7