chatbot

Facebook webhook making multiple calls for the same message?

只谈情不闲聊 提交于 2019-11-28 07:52:17
问题 I made and echo bot on AWS with Python and serverless. I keep getting the same request again and again. I read the faq where it says u have to deliver a status code 200 else it will keep retrying the webhook. I'm not sure How I do this. I have noticed that the sequence number is always the same for the calls so I assume the reply I sent was not acknowledged. my code is here import os import json import requests import random from datetime import datetime ###################### # helper

How do I integrate AWS Lex chatbot to my website?

和自甴很熟 提交于 2019-11-28 03:14:08
问题 My website is doing customer service & support ticket system. But the way of integrating AWS lex seems not as easy as FB is. The thing I wanna do is letting Lex Bot reply tickets for the customer on my website. Do I need to learn AWS Lambda and API Gateway first for integrating Lex? I want to know how to call the lex bot API in PHP curl. As API Docs said. But I am not sure why the POST url is like a relative path. Anyway, thanks for the help. 回答1: To integrate lex bot to website, you need to

How can I use the same bot on multiple facebook pages using bot framework

☆樱花仙子☆ 提交于 2019-11-27 16:59:45
问题 I have several facebook pages and I would like to run the same bot on each page. I am using the bot framework and everything works perfectly for one page now. How do I associate with multiple pages? 回答1: Sorry if my answer is late You can very well handle all your page traffic through just one bot backend Create an fb app and select product as messenger Add webook config pointing to your bot Select all the pages you want to associate one by one And keep the page access token handy. Go and

How to make asynchronous calls from external services to actions on google?

随声附和 提交于 2019-11-27 08:38:07
问题 I'm trying to connect Google Home to an external chatbot with actionssdk. I have an API that take user inputs and send them to my chatbot with webhook, but my chatbot make a response calling another endpoint of my API in an async way, and I can't show the response in actions on Google or Google Home. I create an actionssdkApp. const { actionssdk, SimpleResponse, Image, } = require('actions-on-google'); var app = actionssdk(); var express_app = express(); My API has 2 endpoints. One of them is

[BotFramework]: How to capture/extract the values submitted through Adaptive card rendered in C# Web Chat bot in a waterfall dialog?

此生再无相见时 提交于 2019-11-26 17:29:28
问题 I have chatbot created in C# using SDK 4 which has multiple dialog's each dialog calls another, in one dialog i am rendering Adaptive card in STEP #1 which is having only 2 inputs be provided with OK button: 1. Date 2. Time 3. OK Button So that i can take the extract/captures the values submitted through OK button in STEP#2 and continue with process. Issue: How to extract the values that has been submitted in step#1 in STEP#2 in an waterfall dialog in C#? Language: C# Bot SDK: V4 Please help