Dialogflow V1 generating invalid actions.json? - dialogflow-es

I'm getting this error trying to release an older action that is still using Dialogflow V1 to Alpha:
​"Intent actions.event_CANCEL is using the reserved namespace. Please choose a name that does not start with 'actions'"
Note the period and underscore in the event name.
I don't have a Dialogflow Intent named this, so I assume this is from the actions.json file that Dialogflow is generating for the Action, but I can't see this.
I've deleted the two intents I had that had the actions_event_CANCEL event, but I'm still getting this. Unless it isn't regenerating it or something.
Anyone have any other thoughts how to fix this?

Alpha releases are only supported on Dialogflow v2.

Related

Dialogflow ES fallback not working properly

I hope someone can help me with this one, I'm having a problem with the fallbacks.
I uploaded an image below just to illustrate how is the structure of the bot right now.
For this bot, every single intent must have a corresponding fallback, so that we can control the validation in the backend. Each intent has a parameter controlled by regex.
So the problem is: when I enter the wrong answer for the Intent 3, it should show me the Intent 3 - Fallback message, but instead it is showing me the Intent 2 - Fallback. And this is only happening with this particular intent, with the other 3 intents the fallback is working correctly.
Has anyone ever faced similar issue that can help me?
Thanks,
Chatbot structure image

Hot to get clients location data in Dialogflow CX

I am writing an app in dialogflow CX which suggests locations to a user based on position and other data about the user.
The flow for the user requesting a location works by sending dummy coordinates to my python flask using a webhook. The flask sends a location back which gets presented to the user. So far so good.
My current objective is not sending dummy coordinates but using the clients real location.
This is my first time working with dialogflow CX and I've also never used any other Google service like actions on Google or dialogflow ES.
After some research I only found old documentation on how to extract client information using dialogflow ES. Some other documentations claim it is now only possible with actions on Google.
So I tried using dialogflow ES documentations and got rich content working.
Sadly the "old" solution for getting user data using dialogflow ES helpers did not work for me or I simply used them wrong. Any help, solution or clarification on how to solve this problem or if it is even possible to do this in dialogflow CX is greatly appreciated for I am getting more confused by the documentation than actual help!
And what device is your user in to get that info?
I asume you could ask the customer for his location as well.
I recommend you to check the ES connector of Voximplant, that would allow to have that flow very easily over chat or voicecall as well.
You can pass any metadata to the webhook and provide the flutter response in the chat.
I mean, instead of using the DF fulfillment, you use Voximplant that is easier to work with.
Here a tutorial to connect DF CX to Telephony and
How to have a custom channel to be responded by DF bot.
Let me know if you have questions about this.

Triggering next intent without user input in Dialogflow

I'm building my first chatbot using Dialogflow. During my chat sessions, I would like to move on from one intent to another, without having user input in between. This can be seen in this image on Imgur.
The layout of the chat so far can be seen here.
I'm supposed to move from showing the video or article directly to "allright has your car..." without any user input, but I don't seem to be able to. How do I solve this?
I've tried using in and output contexts, but that didn't seem to work.
Thanks in advance!
Events can be triggered through Dialogflow fulfillment or the
detect intent API. These events can be handled in your Dialogflow agent or in fulfillment.
Check documentation here: Dialogflow Events
This means you will need to programmatically do this

Botium dialogflow agent not recognized properly

I am using Botium to validate dialog flow Intents and Training phrases. I have 3 agents in my dialog flow account.
In which one agent only recognizing all the intents properly.others are not. Mostly the intents using fulfillment responses are not recognized.
It is always calling the default fallback intent.
Can you help me solve this issue?
Both agents’ default language code are the same.
Botium is using the Dialogflow API. You have to make sure that the Botium capability "DIALOGFLOW_LANGUAGE_CODE" exactly matches your Dialogflow workspace, otherwise you will receive no responses at all.
So, in your botium.json, you should add something like this:
...
"DIALOGFLOW_LANGUAGE_CODE": "de"
...
See this list as reference.

How to clear the session between two consecutive intents?

We are using bot trees master which uses bot graph dialog for loading graph based dialogs dynamically. We have created a scenario to load multiple intents(whose intents scores are nearly matching). Now the problem I am facing is when I request for single intent , I am getting the bot response and able to enter into next intent but when I request for multiple intents bot is giving the response and when I request for another intent , bot is giving the same response of multiple intents. When bot is entering into multiple intent handler it is not clearing the session and not coming out of that handler. I have tried using session.endConversation().
To understand about bot graph dialog:
https://www.microsoft.com/developerblog/2016/11/11/extending-microsofts-bot-framework-with-graph-baseddialogs-/
Can somebody help on this. Thank you
the builder.IntentDialog() used in this project is no longer considered a best practice. Additionally, further support is not expected. Instead, you will want to use bot.Dialog() to create your dialog flows with a .triggerAction(). The trigger matches on phrases which you can set a score to. Unfortunately, it means you will need to recreate the bot-trees project to fit this new model.
You can find information on managing conversations here, including creating triggers.
If you need a more robust system, you can integrate LUIS into your project. Information regarding recognizing intents with LUIS can be found here.

Resources