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

Test Actions on Google app on Raspberry Pi running Google Assistant SDK

I created an Actions on Google app which I am currently testing. I was able to test it on my Pixel, but when I tried to launch the app on my Raspberry Pi running the Google Assistant SDK it responded by saying "(name of app) isn't supported on this…
1
vote
1 answer

askWithCarousel() is returning empty response

here is the code snippet i'm using: app.askWithCarousel('Which of these looks good?', app.buildCarousel() .addItems([ app.buildOptionItem("SELECTION_KEY_ONE", ['synonym of KEY_ONE 1', 'synonym of KEY_ONE 2']) …
1
vote
1 answer

Running an ApiAi node app on AWS Lambda

I want to set up my fullfilment in AWS Lambda for my Google Assistant. I am using the actions-on-google npm package. To create an ApiAiApp({req,res} I need an http request and response objects. However, the lambda callback provides a different set…
eran
  • 14,496
  • 34
  • 98
  • 144
1
vote
1 answer

Is there a way to programmaticaly upload a whole skill to DialogFlow?

I want to generate the whole action JSONs in code, and then upload them, instead of working through the console. There is an option to download the whole package as a zipped JSON and theoretically you can also upload. That might supply a hint on how…
eran
  • 14,496
  • 34
  • 98
  • 144
1
vote
1 answer

Request timeout in API.AI

I have an API.ai agent that sends a request (comes from the user) to a webhook which needs a lot of processing (more than 5 sec) to get the answer. As far as I know, that there is no way to increase the response timeout in API.ai So, I have created…
Maghaj
  • 13
  • 7
1
vote
1 answer

i want to download or at least view all api.ai system entities

i want to download or atleast view all api.ai system entities the purpose is to understand how they made entity like sys.number and sys.date the problem i'm facing is that i'm using sys.date entity for my bot whihc works very fine for casual cases…
Inzamam Malik
  • 3,238
  • 3
  • 29
  • 61
1
vote
1 answer

API.ai Actions on Google API Version 2: Failed to parse JSON response string with 'INVALID_ARGUMENT' error: ": Cannot find field."

I am using python to create webhook for Assistat app. I am able to ask user for location permission, but as soon as user gives consent, I receive following error UnparseableJsonResponse API Version 2: Failed to parse JSON response string with…
Abhinav Tyagi
  • 5,158
  • 3
  • 30
  • 60
1
vote
1 answer

Get json body through function callback for api.ai

I am using firebase for hosting cloud functions, since many functions (about every) I need to make the http request and get the json body to get the data from it. However, the callback doesn't work quite well for me, I've searched some existing…
1
vote
2 answers

How to send multiple statements in google assistant app?

I am creating a Google Assistant app for telling quotes, I am currently using Api.ai with ApiAi NodeJs webhook. I wanted that my response should be in this way: Innovation is the only way to win. By Steve Jobs Want one more? Note that all the three…
frunkad
  • 2,433
  • 1
  • 23
  • 35
1
vote
1 answer

Can SVG images be used?

For some reason, I can't get SVG images to show up on my phone, only the simulator. Is this bug / feature that is in progress / expected? I can't find any documentation on file formats in the guide. Don't know if this affects it, but I'm using…
domdomegg
  • 1,498
  • 11
  • 20
1
vote
1 answer

Api.ai - How to start the Google Assistant (Actions on Google) with a command other than "Talk to [application name]"

I'm working with Api.ai to make an app on the Google assistant. Everything is working as expected except that I cannot get the assistant to recognize my application with any key words except for "Talk to [app name]". At first, I didn't think that it…
EGHDK
  • 17,818
  • 45
  • 129
  • 204
1
vote
0 answers

Status 206 from api.ai https webhook

I currently have a working ExpressJS webhook for api.ai hosted on EC2. However, my backend fails when I use the identical GET/POST handlers in an https webhook. In particular, I don't see any (console.log) output from the POST handler, and my…
Arsene Lupin
  • 343
  • 2
  • 11
1
vote
1 answer

askForPermission not working on Actions on Google simulator

I am trying to get the current location of the user and I am using the Api.AI web tool to create my actions/intent. Deployed using - firebase --only functions API.AI Action - Simulator - Full index.js - link But when my action is triggered I get…
Anurag-Sharma
  • 4,278
  • 5
  • 27
  • 42
1
vote
1 answer

Provide response from service to interface after 5 seconds through api.ai

My service is sending back an asynchronous response back to api.ai after a request, which is being displayed on the user interface (Slack, Skype etc). But I am not able to send a response to the interface after the requested operation is completed…
Philip John
  • 5,275
  • 10
  • 43
  • 68
1
vote
0 answers

how to bind the function in js file with the dom element when the js file is bundled with browserify?

I am making a chatbot with apiai package from npmjs. I have a javascript file called 'brain.js' which I have browserified so that the html browser can know what require keyword is. But the problem that I am facing is that when I want to bind that…
akshit bhatia
  • 573
  • 6
  • 22