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
2
votes
4 answers
Add new line (\n) in Text Response from API.ai
While using a Node.js module (apiai), I tried to add new lines (\n) in API.ai text response given a query result but it doesn't seem to work when I save the response in a variable from the callback like this:
request.on('response', function…

Arafat Husayn
- 69
- 2
- 13
2
votes
0 answers
Actions-on-Google - Error on saving Assistant and simulator failure
I was trying to test my app using the simulator which shows that test status is active, but it doesn't recognize the app and returns a response "Sorry, this action is not available in simulation". The app already has actions set without any errors,…

cosmoonot
- 2,161
- 3
- 32
- 38
2
votes
1 answer
How to open an app with google assistant
I would like my assistant to fire up an app on the phone, is that possible?
The assistant does it when I ask it to call someone or sometimes it fires up the browser when I ask for something, will I be able to pass the user onto a web page without…

Eliahu Horwitz
- 499
- 3
- 17
2
votes
1 answer
Python Webhook: Passing through a URL + payload
I'm a beginner with Python and trying to build a service that takes information from api.ai, passes it to an API, then returns a confirmation message from the JSON it returns.
app.py:
#!/usr/bin/env python
from __future__ import…

beaconhill
- 441
- 6
- 28
2
votes
1 answer
Is API.AI the native way to build conversational skills for Google Assistant?
I have developed a conversational skill using API.AI and deployed to Google Home but API.AI's support seems limited and I am unable to do certain things like playing an audio file. The question I have is whether it's better to stick with API.AI or…

Furkanicus
- 329
- 2
- 18
2
votes
2 answers
Api.ai with version control(git)
I am developing a chat bot using api.ai. Api ai has no built in solution for version control, does anyone know about a solution for versioning the chat bot and for managing multiple environments(dev,test,stage,prod)?
Thanks
Edit:
I am looking for…

Eliahu Horwitz
- 499
- 3
- 17
2
votes
3 answers
How do you allow the user to cancel while the Google Assistant is responding via a webhook?
I have a Google Action (using API.AI) that is very similar to the Silly Name Maker webhook example.
However, my app was rejected for the following reason:
One or more of your actions does not allow a user to easily exit a conversation. Please make…

Dan Leveille
- 3,001
- 2
- 24
- 28
2
votes
1 answer
API.ai Actions on Google - get current properties like Weather, Location known to Google Home
When I am using API.ai for Google Actions, is there a way I can access user's current weather or location?
API.ai does provide some @sys.* properties to query user for data, but does API.AI have pre-populated values I can use for…

Hossain Khan
- 6,332
- 7
- 41
- 55
1
vote
1 answer
Can't make connection to Dialogflow API (V2) using ReactJS
I'm trying to make a connection to Dialogflow API. I downloaded the JSON file with all the credentials and placed the file in my project src folder.
Here is my code:
import React from 'react';
import './App.css';
import jsonInfo from…

Coder
- 43
- 3
1
vote
0 answers
Is there a way in dialogFlow to change for all intents it's endInteraction to true?
I have 700 intents in DialogFlow, and I want to enable end interaction flag in all of the intents. I wrote a script that downloads the entire agent and for every intent in this agent adds the key "endInteraction".
My problem is that when I download…

Niv Dunay
- 29
- 1
- 6
1
vote
0 answers
ApiAiClient request to Dialogflow API fails in Internet Explorer 11?
I use React and SPFX, when I try to connect to the Dialogflow API it fails in IE. It works in other browsers(Chrome, Edge, Firefox).
import { ApiAiClient } from 'api-ai-javascript';
var accessToken = "...";
var client = new…

Coder
- 43
- 3
1
vote
2 answers
Session entities not recognized in Dialogflow training phrases
I have setup a Google Actions conversational project, with dialogflow and webhook intents served by my server in PHP.
Upon new dialogflow conversation startup, e.g. just before replying to the welcome intent, the php code is pushing some session…

Alberto Pastore
- 193
- 2
- 14
1
vote
1 answer
Why do I not get the response as RAW API RESPONSE specified by Dialogflow?
I asked this question before, came to a wrong conclusion because Dialogflow V1 client library gives response in the format specified by Dialogflow and Dialogflow V2 client did not so I thought the response format has changed. I used…

Jeeva Bharathi
- 99
- 2
- 12
1
vote
1 answer
Starting a conversation on Dialogflow, lowercase /start not working
I am building a Chat Bot with Dialogflow and Telegram - Python Flask web hook.
I am having trouble starting the conversation.
When I type '/Start', with a capital 'S' then is works. When I type '/start' with a lowercase 's', then it fails with the…

tbowden
- 1,008
- 1
- 19
- 44
1
vote
2 answers
Entity detection from sentences differ in training and testing sentences
Entity detection is working fine while training the phrases i.e the words of interest (entities) are highlighted when the sentence is being added as a training sample, but when the same sentence is tested , the entities are not selected.
If we…

Wajdan Ali
- 179
- 13