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
0
votes
0 answers
Allowing user to access MultiLanguage in DialogFlow
Does anyone have a working example of code for a dialogflow bot where the user can switch from an english Facebook bot to a french one?
EDIT: Ideally the bot would initially engage in english then would prompt the user to select a language as the…

Katie Temrowski
- 87
- 8
0
votes
0 answers
gactions test fails with "Your app must have at least one action for locale en"
When I run gactions test for one of my Actions SDK projects I get the following message:
ERROR: Failed to test the app for the Assistant
ERROR: Request contains an invalid argument.
Field Violations:
# Field …

Wolfram Rittmeyer
- 2,402
- 1
- 18
- 21
0
votes
3 answers
Add context api ai
I created a simple project with api ai. Then, I want to add a context. I add "location" in the context's text field but I do not understand what I have to do next.
Any help is very appreciated, thanks.

SphynxTech
- 1,799
- 2
- 18
- 38
0
votes
2 answers
Api.Ai falls on textRequest to default fallback intent
I'm using Api.Ai (Node.Js SDK Version 2.0.7 and also upgraded to 4.0.3) and making textRequests to my Agent.
Without any change on my side appearantly half of the intents are not working anymore (the default intent comes instead).
The sentences are…

Carlos
- 3
- 1
- 4
0
votes
1 answer
How add custom formatting in response in API.AI?
Using Google API AI, we have created
Agent
Intents
User Say (Hi)
Response
Response Text (Welcome, How are you?)
We need Response in html format like
Welcome, How are you?
In short, How I will apply HTML tags in Response

Kishor Hase
- 101
- 4
0
votes
1 answer
API.ai Actions on Google - Failed to parse JSON response string with 'INVALID_ARGUMENT' error: ": Cannot find field."
This error is similar to what I asked here, but this time it's with NodeJs client.
I am trying to find directions to a location. As soon as the intent is triggered on my webhook, I am calculating the directions using GoogleMapAPI. But before it can…

Abhinav Tyagi
- 5,158
- 3
- 30
- 60
0
votes
1 answer
NLP timezone issue
Currently i am using Bot Framework with Node for my chat bot and i am using API AI as my Natural Language Processing.
My question is, let say the user replied with "yesterday" or "today" or "tomorrow" and it is base on the server time. Now, it will…

coffeeman
- 11
0
votes
2 answers
API.AI: possible multiple intents in a result
API.AI returns a top scoring intent. I was wondering could we have lower scoring intents in the same response like LUIS?

qnguyen
- 444
- 9
- 21
0
votes
1 answer
Date-period understands “before 2000” as [“2000-01-01/2000-12-31”]
I am building an api.ai agent, but I'm struggling to get unbounded date-period parameters understood correctly.
For example:
before 2000 is interpreted as ["2000-01-01/2000-12-31"]
after 1999 is interpreted as ["1999-01-01/1999-12-31"]
after…

PLNech
- 3,087
- 1
- 23
- 52
0
votes
1 answer
Google Action API.ai Account linking debugging URL returning 500
I’ve followed this tutorial https://apiai-aws-heroku-nodejs-bots.blogspot.co.uk/2017/07/steps-for-apiai-and-google-account.html but when I go and grab by debugging URL which happens to be…

mfujica
- 144
- 1
- 10
0
votes
1 answer
Optional Entity in api.ai
I have this intent.
Context: asset
Query: When will the @asset fail?
Entity @asset has synonyms "unit, equipment, machine"
Now when I query "when will the asset fail? or when will the unit fail?"
It works.
But when I say "when will it fail?"
It…

iitum studant
- 856
- 2
- 8
- 24
0
votes
1 answer
append contextOut array to firebase webhook response with api.ai
I'm trying to add a contextOut array to the response given by my firebase webhook for api.ai as documented here.
My simplified firebase code is as follows:
exports.myEndPoint = functions.https.onRequest((req, res) => {
const assistant = new…

Nick Ramsbottom
- 583
- 1
- 6
- 17
0
votes
2 answers
How to change language in Actions in google web simulator?
I have created an agent in French in API.AI. After that when I go to the web simulator the other langugaes are greyed out.
Even the things I typed in french are pronounced in english.Does any one know what is the root cause for this ?

Nirojan Selvanathan
- 10,066
- 5
- 61
- 82
0
votes
1 answer
Api.ai request body does not contain the originalRequest object from which the access_token can be sent to the fulfillment webhook
Api.ai request body does not contain the originalRequest object from which the access_token can be sent to the fulfillment webhook. Can anybody please let me know why I am not seeing the originalRequest body?
I have successfully completed the…

Sandeep Anjaneya
- 11
- 1
0
votes
1 answer
capture info from ID Token with Actions On Google?
I see that we can use the Account linking with Actions On Google to automatically signup users using the Google Sign-In ID token which provides info such as email and name.
Can we import that data into our own database so that we can contact the…