chatbot

Amazon Lex not prompting for missing variables when using CodeHook Validation

梦想的初衷 提交于 2019-12-02 06:53:23
I am building an agent in Amazon Lex with around 3 intents. All the 3 intents have a variable which has been ticked as 'required', meaning the agent has to prompt for those variables when the user query is missing it. However when I am using a lambda function as codehook validation the , function gets triggered without prompting for the missing variable. For example: Intent which describes call notes from a call with a specific person: The prompt is " Specify the name of the person whose notes you want to see' The objective of the lambda function is to print out "Call notes for the person is

Is there a way to enable calendar option as an input in V4 chat bot C# other than using Adaptive cards?

て烟熏妆下的殇ゞ 提交于 2019-12-02 05:59:07
Is there a way to enable Date and Time input in other words calendar options in Chat Bot without using Adaptive cards as i understand from below link the Adaptive cards are not supported in all channels except for Microsoft channels. How to add custom choices displayed through Prompt options inside Cards & trigger actions on choice click in BOT V4 using c#? I had enabled Adaptive cards using the below inputs: [BotFramework]: How to capture/extract the values submitted through Adaptive card rendered in C# Web Chat bot in a waterfall dialog? Then my query: Is how can i enable the Date Time input

Why AIML pattern matching is not working?

此生再无相见时 提交于 2019-12-02 04:36:57
I'm working on a voice bot, which will get user voice input and executes task based on it. I'm using AIML 1.0. The problem I'm facing is that the pattern matching is not working. <category> <pattern>OPEN SAP</pattern> <template> <random> <li>Sure thing!</li> <li>Right away, sir!</li> <li>On it!</li> </random> <system>start saplogon </system> </template> </category> <category> <pattern>* OPEN SAP</pattern> <srai> OPEN SAP </srai> </category> <category> <pattern>* SAP *</pattern> <srai> OPEN SAP </srai> </category> When I say 'Can you open SAP', it is not recognizing. What is the problem in the

How to call another intent without prompting to user in Lex?

柔情痞子 提交于 2019-12-02 04:09:16
问题 Is it possible to trigger intent-B from the lambda function of intent-A without prompting to user? Suppose user typed something and an intent-A is fired, after some processing I want to trigger some other intent i.e intent-B. User can also directly trigger intent-B through specific utterances. Any help is appreciated. 回答1: I ended up doing below to call intent-B from intent-A without prompting anything to user: give access to invoke lambda functions to your calling lambda function i.e lambda

How to use a single webhook for multiple messenger apps/bots?

谁都会走 提交于 2019-12-02 03:06:54
问题 I'm developing different chatbots for different fb pages but I only have one server to run them. For the first chatbot I am using https://mydomain/webhook as webhook and everything works fine, all the messages are sent to the 443 port and my program process them. Now I was wondering what should be the webhook for my second chatbot. My idea was to open a https connection on another port and use https://mydomain/webhook:myport as webhook so that each bot listen on a different port and each

How to use a single webhook for multiple messenger apps/bots?

余生长醉 提交于 2019-12-02 01:35:07
I'm developing different chatbots for different fb pages but I only have one server to run them. For the first chatbot I am using https://mydomain/webhook as webhook and everything works fine, all the messages are sent to the 443 port and my program process them. Now I was wondering what should be the webhook for my second chatbot. My idea was to open a https connection on another port and use https://mydomain/webhook:myport as webhook so that each bot listen on a different port and each webhook points to them accordingly. Unfortunately when I try to validate my webhook from the facebok

Facebook Messenger Chatbot for personal fan page

让人想犯罪 __ 提交于 2019-12-01 22:45:48
I created a chatbot using Dialogflow, hooked it up as a facebook messenger chatbot for my personal fan page (A fan page for my app). I passed through the first review process and it got approved. The next step is to "verify my business". I am not a business, I am just an individual developer, and I wanna allow my facebook fan page to have a chatbot that can interact with the users. I don't have a "bill" that shows my business cause I don't have on. How do I go about that, how to enable the chatbot on a personal fan page without business verification? In this case, I would go to Facebook

How to implement Login in Dialogflow chatbot

我是研究僧i 提交于 2019-12-01 10:50:53
问题 i want to add login to my chatbot with webhook.I want to take username and password from user and send it to the webhook. 回答1: I know you didn't got much search results for that there are following approaches If you use only Google Assistant for chatbot then use built in "Sign-in" required option and then open link https://console.actions.google.com/project/ your-project-name /accountlinking/ and in that provide your required settings like "Do you want signup ?" or "Login Only" select type of

How to create open-ended slot in lex

最后都变了- 提交于 2019-12-01 07:33:56
I'd like to create a notes/feedback field in my Lex bot, but it appears difficult to do. It seems like AMAZON.LITERAL used to do this, and current suggestions are to create a custom slot and pump a bunch of random data into it ( http://docs.aws.amazon.com/lex/latest/dg/gl-guidelines.html - bullet point 3 and other googles). Is this the best way to do it? Does anyone know of any examples or methods to better show how this can be done? In my case, feeding random data to the slot did not work. It used to capture only a part of input for the slot or most of the time it assigns NULL to the slot. To

How to create open-ended slot in lex

Deadly 提交于 2019-12-01 06:00:28
问题 I'd like to create a notes/feedback field in my Lex bot, but it appears difficult to do. It seems like AMAZON.LITERAL used to do this, and current suggestions are to create a custom slot and pump a bunch of random data into it (http://docs.aws.amazon.com/lex/latest/dg/gl-guidelines.html - bullet point 3 and other googles). Is this the best way to do it? Does anyone know of any examples or methods to better show how this can be done? 回答1: In my case, feeding random data to the slot did not