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.
Questions tagged [api-ai]
169 questions
3
votes
2 answers
redirect_uri_mismatch when OAuth2 account linking from Google Home Simulator
I am developing an account linking integration for an "Actions on Google" integration with API.AI for use with Google Home. When I test this agent in the simulator (https://developers.google.com/actions/tools/web-simulator)
As expected, this is my…

Thomas Murphy
- 1,360
- 4
- 14
- 41
2
votes
2 answers
Unable to integrate Dialogflow in botman
Symfony\Component\Debug\Exception\FatalThrowableError.
Argument 1 passed to App\Http\Controllers\API\BotManController::App\Http\Controllers\API{closure}() must be an instance of BotMan\BotMan, instance of BotMan\BotMan\BotMan given.
I tried to…

rupesh-mdr
- 71
- 11
2
votes
1 answer
Dialogflow: How do I get sys.boolean?
I would like to add training phrases like
Yes
I would love to
No
No, thanks
and extract a boolean var $extraCheese containing True or False which I can use later. If I was expecting a color, I would do $dressColor and @sys.color, but then I don't…

Saravanabalagi Ramachandran
- 8,551
- 11
- 53
- 102
2
votes
0 answers
Facebook Bot Attachment Unavailable issue
I am building a bot for facebook messenger. It was all working fine and suddenly facing "Attachment Unavailable" issue. Funny thing is, bot is working all fine on messenger app on phone devices. But facing this in desktop messenger version. Can…

Karthik Venkatesh
- 115
- 9
2
votes
2 answers
How can I create a response with rich messages in Dialogflow?
Currently, When an intent is invoked, I am calling a webhook and getting a response from the web service as json structure show below.
{
"speech": "this text is spoken out loud if the platform supports voice interactions",
"displayText": "this…

RoboticsNovice
- 138
- 1
- 7
- 16
2
votes
1 answer
Can I make Dialogflow intents require atleast one of the trained entities?
I know how to make intents require any parameter value, after which the intent will force to get the value; but is it possible to make it force to get atleast one of the given entity parameters ?

Yashank
- 743
- 2
- 7
- 23
2
votes
1 answer
How to tell if a webhook request is in sandbox for DialogFlow V2?
I'm migrating to Dialogflow V2, and in V1 I could tell if this was a sandbox request by looking at:
request.body.originalRequest.data.isInSandbox
I cannot find the equivalent in V2, or in the documentation

eran
- 14,496
- 34
- 98
- 144
2
votes
1 answer
Select intent not triggered if selection is not immediately followed by carousel
I am facing a problem with listening to User Selection when we show a carousel. We are using askWithCarousel with dialogFlow and listening to click of a carousel item using actions_intent_option event. When a carousel is displayed to user, assistant…

Chethan N
- 1,110
- 1
- 9
- 23
2
votes
1 answer
app.askForSignIn(); not working at all
Sign in intent doesn't work at the moment as clearly explained in the docs, it's just something you can use for test in the emulator, but it's not available in production.
My case is I'm using account linking and my token expires after one day, so…

Inzamam Malik
- 3,238
- 3
- 29
- 61
2
votes
1 answer
Actions on Google TDD or testing environment
I've been developing an Action on Google for a while now, but haven't figured out a way that I can do TDD effectively. Since I'm writing with the Node.js SDK for API.ai, I can test the fulfillment endpoint pretty easily with mocha unit tests.…

Alec Branaa
- 120
- 2
- 8
2
votes
0 answers
Account linking Actions on Google with App Engine Standard
I have an App Engine Standard project for API.AI fulfilment webhook. Users interact with my app through chat (Google Assistant) only—no Web interface. In summary, the app is a chat backend.
My app requires user's email to send updates. I read that I…

wiradikusuma
- 1,930
- 4
- 28
- 44
2
votes
1 answer
Launching an Intent with an Event with API.AI in a Google Action
I am developing a Google Assistant Action and want to create an event that can automatically launch an intent that I had. The problem is I cannot seem to find any good documentation on how to actually define an event so this way it launches an…

Antonio Cucciniello
- 643
- 1
- 5
- 19
2
votes
1 answer
How do I get conversationId from ApiAiApp or ActionsSdkApp?
I try to find in document of ApiAiApp and ActionsSdkApp, they do not have property or function to get conversationId. I can see this from the JSON request. Do I have to parse the request myself to get the conversationId?
conversationId should be…

user3423762
- 81
- 4
2
votes
3 answers
Integrating API.AI with Amazon Alexa
I am unable to integrate API.AI export code with Amazon Alexa. What I believe is, both the Intent Schema and Sample Utterances have been correctly filled in the right place, however, the HTTPS endpoints for the Lambda function is causing trouble.…
user7763294
2
votes
0 answers
Sending multiple response with API.ai
I want to send 2 separate text responses from my intent.
The user says
"what's your name?"
The bot responds
"David"
"But my friends call me Dave"
In the api.ai docs it tells me to add multiple Text Responses to split up my response, and to add…

macasas
- 497
- 6
- 20