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
23
votes
3 answers

Make google actions development project preview persist longer

I want to make google voice actions app for my Google Home. But, based on quick research, as of Dec 11, google does not allow private projects for Google Home. References: Can I develop a private action only accessible via my google home or linked…
Hossain Khan
  • 6,332
  • 7
  • 41
  • 55
15
votes
3 answers

Dialogflow: Respond based on values and other conditional responses

I have $dinetype variable obtained from the user. But I would like to give response based on what value has been set in $dinetype variable. In addition to giving responses, I also need to set relevant context. How do I do this in…
Saravanabalagi Ramachandran
  • 8,551
  • 11
  • 53
  • 102
13
votes
1 answer

Can I create a federated user in firebase manually using admin authentication api?

I've a web application built using firebase. In my web app, I've google, firebase, twitter signup/signin functionalities. Now I want to integrate this with my api.ai agent and have a seamless account linking. Hence users will use their googel Home/…
9
votes
4 answers

Alexa - catchall

I've got a chatbot which is plugged to backend and DialogFlow/ApiAI. I'm trying to set up a skill in Alexa so that I can catch everything that is said to my skill and then forward it to my backend so that i can use my existing infrastructure and…
JulienCoo
  • 1,128
  • 3
  • 13
  • 24
9
votes
1 answer

Linking Google Assistant with Firebase Auth

I am attempting to connect a Google Assistant app using DialogFlow(Api.AI) with Firebase Auth. My App uses Firebase Auth to maintain user accounts and the realtime database to store data. I would like to be able to make changes to a user's data…
9
votes
1 answer

Google Assistant location permissions not stored between requests

With API.AI and the Google Assistant, I'm requesting permission to get the user's name and location. The intent is that I'll be able to ask for permission once, and subsequent requests to my Action will not need to ask again (since this will make…
Prisoner
  • 49,922
  • 7
  • 53
  • 105
8
votes
5 answers

How to fetch device location using API AI?

I am using GUI tools provided by API AI to create Actions. Is it possible to fetch device location? I have heard that this is possible by requesting permissions. Is this documented anywhere? An example/code snippet will be very useful.
Sai
  • 2,089
  • 3
  • 19
  • 30
7
votes
3 answers

How to use a single AWS Lambda for both Alexa Skills Kit and API.AI?

In the past, I have setup two separate AWS lambdas written in Java. One for use with Alexa and one for use with Api.ai. They simply return "Hello world" to each assitant api. So although they are simple they work. As I started writing more and more…
EGHDK
  • 17,818
  • 45
  • 129
  • 204
7
votes
2 answers

How do I get Actions on Google to speak using Google Home's normal voice?

I'm building an app using Actions on Google using API.AI that allows users to speak to my app through Google Home. API.AI allows me to choose between two male and two female voices, however, all four of these voices are not the normal Google Home…
Dan Leveille
  • 3,001
  • 2
  • 24
  • 28
6
votes
3 answers

Connecting with Dialogflow V2 api using Python

As mentioned in the documentation, I have setup cloud account along with activating the dialogflow API. Then I activated dialogflow V2 in my dialogflow.com account along with setting the same google project in it. I downloaded the google credentials…
Apurv Anand
  • 93
  • 1
  • 7
6
votes
3 answers

add confirmation entity in dialogflow (api.ai)

I need to add a confirmation entity so I get a 'Yes' or a 'Cancel' in the parameters of a certain operation in dialogflow (api.ai). Say a user is purchasing a coffee, I'd ask details about the coffee and the quantity and finally i need a…
jamian
  • 1,544
  • 2
  • 16
  • 25
6
votes
4 answers

API.AI: How to stop AsyncTask on click of the AIButton?

I’m using AIButton in my app and I have a AsyncTask which gets executed after AIButton is clicked and receives some command and AsyncTask sometimes takes too long to execute. Here’s my code: final AIConfiguration config = new AIConfiguration("xxx", …
Hammad Nasir
  • 2,889
  • 7
  • 52
  • 133
6
votes
2 answers

Google agent authorization flow doesn't proceed after the grantType=authorization_code request

I am developing a API AI agent, and trying to implement the account linking functionality. The documentation at oauth2-codeflow is really helpful and I am able to create my oauth flow and test the same in Google playground. It all works fine till…
Phani
  • 1,851
  • 2
  • 15
  • 28
6
votes
2 answers

Can I get requester's local time (or offset) from Actions On Google?

I'm building on the Actions On Google API using API.ai. In order to fulfil one of my actions I need to know the user's location and local time. I have been able to successfully ask for and receive back the user's location. However, I cannot see any…
strttn
  • 2,320
  • 1
  • 18
  • 17
5
votes
1 answer

Dialogflow list does not work on Google Assistant the first time

My Dialogflow agent is using an 'Actions on Google Rich Message' List response object to display options on the Google Assistant platform. The list options work perfectly when testing on the Dialogflow console. However, when testing through the…
1
2 3
11 12