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
0
votes
1 answer

Send audio file to DialogFlow using Python

I know that I can send data (Text in this case) to DialogFlow by using Python in the following way: ai = apiai.ApiAI(CLIENT_ACCESS_TOKEN) request = ai.text_request() request.lang = 'de' # optional, default value equal 'en' request.session_id =…
Stiben
  • 104
  • 11
0
votes
0 answers

Firebase current user login issue

I built a dialogflow bot which is integrated to my fb page. I have used firebase authentication for the login flow. var user = firebase.auth().currentUser; if (user) { // User is signed in. } else { // No user is signed in. } Scenario: First…
0
votes
2 answers

Prioritizing followup intent instead of new intent in dialogflow?

I am semi-new to Dialogflow, so sorry if this is really simple, but I can't seem to find an answer anywhere. Here's my problem: I am trying to make a chatbot where if the user says something like "speak to a human", the chatbot just stops talking…
NyW
  • 107
  • 8
0
votes
1 answer

React component not rendering without an event

I'm learning React and is doing a personal project where i'm creating a chatbot with api.ai agent. I'm using api.ai npm package in my project where the user can ask a question and my agent will reply to the answer based on the question.I'm getting…
Annette
  • 214
  • 1
  • 3
  • 16
0
votes
1 answer

Toggling a Dialogflow Chat Window by clicking on a Material-UI Floating Action Button in ReactJS

In the below code snippet, I am trying to toggle , which is a Dialogflow Chat Window, when a user clicks on the with the default state set to false. When clicked on the Material-UI Floating Action Button, it…
0
votes
0 answers

How to fetch database from external using webhook in api.ai with PHP?

I have created agent in API.AI and I have created a database in Google Cloud Platform. I am able to connect to it using Navicat Premium to update the database of the bot. Also, I am able to use webhook using Heroku with PHP scripting. And I'm able…
0
votes
1 answer

JSON Response with API.AI

I've been searching high and low on how to make use of Webhook in API.AI. I'm new to API.AI in general. My objective is to integrate API.AI into my Swift Application which i have already done. I want to get a JSON Object from a webpage and use those…
Mau
  • 41
  • 4
0
votes
2 answers

Dialog Flow ( Api.ai ) Conversation in chatbot

I am having a welcome intent and it allows user to select three different actions. Ex: Welcome! you can print your firstname, you can print your lastname or you can print your zipcode. If User select or enter last name then it should call the last…
0
votes
0 answers

ApiAI is not defined in Ionic 2?

I tried a code in my project in Ionic 2 but i have this error. ApiAIPlugin is not defined I added: declare const ApiAIPlugin: any; In my code. I also added: public ApiAIPlugin: ApiAIPlugin In my constructor and nothing changed. I still have the…
0
votes
1 answer

train dialogflow to recognize phone number

I would like to extract phone numbers using dialogflow for my chatbot. I was going to use the @sys.phone-nunmber, but there is a weird bug in the French version. Even if the system correctly recognizes the number (for instance "06 25 48 79 31") as I…
DeepProblems
  • 597
  • 4
  • 24
0
votes
1 answer

Dialogflow language coverage and Google Neural Machine Translation

Google started “Google Neural Machine Translation” system in 2016 and improved the efficiency of translation of some languages tremendously. These languages include German, French, Spanish, Portuguese, Chinese, Japanese, Turkish and Korean; as they…
Alaattin KAYRAK
  • 1,084
  • 2
  • 12
  • 29
0
votes
1 answer

NameError uninitialized constant ApiAiRuby

Ruby on Rails app deployed on Beanstalk is giving me error for API AI / Dialog Flow Gem: NameError uninitialized constant MessengerHireController::ApiAiRuby I have the following code in my sidekiq Worker: dialog_client = ApiAiRuby::Client.new( …
0
votes
1 answer

OAuth Implicit flow Access Token expires every hour

I'm having a problem with the OAuth Implicit flow for the Google Assistant. I managed to set up a OAuth server and got it to work. Here's the flow: The user Is redirected to my endpoint, authenticates with a Google account, and gets send back to the…
0
votes
1 answer

how to add middleware/intercepter for every request in on dialogflow webhook server

how to add middleware/intercepter for every request in on dialogflow webhook server while using Action-on-google library and working with dialogflow application, the purpose is i want to authenticate on every request that key is still valid or not,…
0
votes
4 answers

Resetting or overwriting the lifespan of a context in DialogFlow

I'm trying to manage the context of my Google Assistant agent (in DialogFlow), using the ApiAi class in the npm package actions-on-google. The problem is this: How can I reset the lifespan / delete a context using the npm package? I can easily set…
eran
  • 14,496
  • 34
  • 98
  • 144