将azure聊天机器人集成到外部wordpress站点的问题 [英] problem integrating azure chat bot to external wordpress site

查看:80
本文介绍了将azure聊天机器人集成到外部wordpress站点的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

我已经为我们的内部需求开发了一个聊天机器人,现在我们想将它集成到我们的网站,我实际上并没有控制它。我们的网站恰好是一个wordpress网站,行为真的很奇怪。我对wordpress
不是很熟悉,网站上的人问我代码是否可以进入"head and footer"。您可以从管理面板(工具 - >页眉和页脚代码)进行配置,我说它可能会去那里。我尝试了我的自定义版本,
使用directline与网页进行交互但是没有用,我尝试了最简单的方法就是嵌入iframe,如下所示:

I've developped a chatbot for our internal needs and now we would like to integrate it to our website, which I'm not really in control of. Our website happens to be a wordpress website and the behaviour is really strange. I'm not very familiar with wordpress and the person who does the website asked me if the code could go in the "head and footer" configuration that you can do from the admin panel (tools->head and footer code), I said that it can probably go there. I tried my custom version which uses directline to interact with the webpage but that didn't work, I tried the simplest approach which is just to embed the iframe, like so:

< iframe src ='https://webchat.botframework.com/embed/blabla-chatbot?s = YOUR_SECRET_HERE'  style ='min-width:400px;宽度:100%; min-height:500px;'>< / iframe>

<iframe src='https://webchat.botframework.com/embed/blabla-chatbot?s=YOUR_SECRET_HERE'  style='min-width: 400px; width: 100%; min-height: 500px;'></iframe>

并且它不起作用。

当我说"它没有"工作",我的意思是机器人将出现在网站的最底部,当且仅当我按下F12(打开开发人员工具,我在Chrome和Edge中测试过)。我不知道他们用他们的
wordpress模板做的事情是否如此复杂以至于机器人的iframe或网络聊天框架无法处理,这很可能。我想知道这是否可以在wordpress上工作,或者我是否需要尝试设置一个wordpress插件来使其工作。有什么想法吗?

when I say "it didn't work", what I mean is that the bot will appear at the very bottom of the website if and only if I press F12 (which opens the developer tools, I've tested this in Chrome and Edge). I don't know if what they're doing with their wordpress template is so complex that the bot's iframe or webchat framework can't handle, that could very well be. I wonder if this can work on wordpress at all, or if I need to try and setup a wordpress plugin to make this work. Any ideas ?

推荐答案

这个
论坛适用于
Azure
Stack

a混合云平台,允许您使用公司或服务提供商的数据中心提供的Azure服务。 

Azure Bot Framework
在MSDN中不受支持。 根据
Azure
Bot Framework支持页面

问这些问题的最佳地点是
使用botframework标签的StackOverflow
。 

Azure Bot Framework is not supported in MSDN.  According to the Azure Bot Framework support page, the best place to ask these questions is on StackOverflow using the botframework tag


这篇关于将azure聊天机器人集成到外部wordpress站点的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆