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
1
vote
1 answer
How to use API AI in production?
I'm thinking about building production version of a chatbot basing on API AI.
I found couple of links but without good answers (I cannot post them due to too low reputation).
Here's the list of questions:
How to hande platform updates?
Are there…

nico
- 21
- 2
1
vote
1 answer
Define a appropriate entity to store number intervals
I am wondering what is the ideal way to define entities of different kinds with interval value. e.g. with maximum and minimum number.
I tried to define a number-intervalentity with min and max values. Then defined a price-range composite entity with…

Hamid Bazargani
- 847
- 1
- 15
- 30
1
vote
1 answer
Pass SessionID to api.ai through dotnet sdk
This seems very trivial question, but I can't find a way to pass the SessionID through the ApiAi.TextRequest call

Ateik
- 2,458
- 4
- 39
- 59
1
vote
0 answers
how to develop a api ai with node-js web application?
I am trying to develop a simple web application for food menu, for this user request as natural language, the response should fetch from api ai and display it.

race
- 59
- 5
1
vote
0 answers
nodejs facebook chat bot with apiai
I have a question about dealing with rich messages in facebook.
When I try to send messages with api.ai,
I send the message like enter link description here
function MessageHandler(event) {
let sender = event.sender.id;
let text =…

Chan Ung Chris Jeong
- 29
- 4
1
vote
1 answer
Async - Can't set headers after they are sent
I am new to node and async...
I am getting an error saying I can't set headers after they sent when I am sending a response back to api-ai
Any idea why?
Below is the code for function - getUserFirstName(userId, name, callback):
var name =…

Harrizontal
- 95
- 7
1
vote
1 answer
What are "implicit triggers" in a Google Action package?
My Google Action was rejected. One of the reasons was:
Your agent has too many implicit triggers in it's action package. Please limit the number of query patterns in your action package which do not include your invocation name to less than 10.
My…

Dan Leveille
- 3,001
- 2
- 24
- 28
1
vote
0 answers
Send rich messages like html table in webhook response of api.ai
I'm trying to build a bot using api.ai and connecting it with Facebook & slack integrations. My requirement is to send rich messages like HTML table, Graph snapshots like statsbot in response of the webhook in api.ai
Please anyone show me a demo of…

Tarun Parswani
- 4,565
- 3
- 13
- 13
1
vote
1 answer
Get data from a Google Sheet within a Google Home Action?
Developing a small action for my Google Home with Api.ai.
I would like to pull specific data from a Google sheet or some sort of spreadsheet database (Google Sheets seemed like the easiest since it is Google made.) For read back within my Home…

Spencer Wilhelm
- 11
- 2
1
vote
2 answers
How to get user information without client library in API.AI webhook?
I'm developing a simple app with Google Assistant and API.AI. I would like to get access to user's location. According to documentation, I have to ask for a permission. But the documentation states it's only possible with a NodeJS client library. My…

David Vávra
- 18,446
- 7
- 48
- 56
0
votes
1 answer
Google Dialog flow API giving CORS issue
I have created some intents in Google Dialog flow and trying to make a dialog flow api call 'detectIntent' in an Angular application. I'm using ApiAiClient of api-ai-javascript to make the call to Dialog flow. I also use the oAuth2.0 for…

Ashok Ambrose
- 191
- 3
- 17
0
votes
1 answer
Error: 'clientAccessToken' cannot be empty
I'm new to learning javascript and I'm running into an issue with trying to deploy this web app using heroku: https://github.com/girliemac/web-speech-ai. The error message says:
Error: 'clientAccessToken' cannot be empty.
I am getting this error…

user12100564
- 1
- 1
0
votes
1 answer
Can't see Dialogflow access tokens
I'm not using the enterprise edition Dialogflow but I still can't see the developer and client access tokens.
I'm creating my own custom integration and I have been using the client access token that I could see in the General settings. Now both the…

HackleSaw
- 119
- 2
- 14
0
votes
1 answer
What is the problem of my dialogflow request in the code (it works with postman)?
I have a problem with my chatbot Application. I just don't find the mistake why I can't call the dialogflow api with my request from code tough it works with the exact same request from postman. Even the dialogflow support says that the request is…

Rainer Winkler
- 485
- 1
- 7
- 20
0
votes
0 answers
How to call custom events of Dialogflow, by REST api end point?
I want to use custom events in Dialogflow to invoke an event (Welcome event) from my ionic application. I need to call an end point as described in link, I am calling the same from postman but getting error below -
{
"code": 401,
"status":…

Priyanka
- 11
- 5