我正在尝试用docker运行Botpress。我将Dockerfile设置如下:
FROM botpress/server:v11_9_5
ADD . /botpress
WORKDIR /botpress
CMD ["./bp"]
在构建图像之后,我运行docker run my_image:latest来启动我的botpress。但是,它不能连接到Duckling服务器。
根据日志,
03:20:32.917 Mod[nlu] Couldn't reach the Duckling server , so it will be disabled.
我需要将botpress连接到我的外部DB服务器,该服务器运行在与botpress不同的服务器上。连接是通过SSL进行的,因为这是DB服务器所需的,并且无法关闭。 我可以使用python脚本从运行botpress的vps连接到DB服务器。 对DATABASE_URL=postgres://使用相同的字符串会得到错误:no pg_hba.conf for host... SSL off 我可以在botpress中的哪里启用SSL DB连接?
我正在用botpress制作我的第一个机器人。在尝试通过UI输入应用程序id、应用程序密钥和访问令牌来连接botpress和messenger时,我得到了遗忘错误:An error has been returned by Facebook API. Status: 400 (Bad Request) (#100) callback_url should represent a valid URL。
即使在botpress-messenger.config.yml中手动输入这些值,也会显示相同的错误。
但是后备url会在messenger开发人员控制台上进行验证。
我做错了
我正在试着用Botpress构建一个聊天机器人。我是个初学者,正在寻求你的帮助。其中一个需求就是查询数据库来回答问题。这就是我到目前为止所尝试的:
dbconnect.js
var oracledb = require('oracledb');
var dbConfig = require('./dbconfig.js');
var db = function dbCall(sql, values) {
return new Promise(function(resolve, reject){
oracledb.getConnectio
我正在使用Botpress制作一个简单的机器人到Facebook ,当我在AddQuestion方法中使用简单字符串时,所有操作都可以,但是当我更改为使用UMM时,会逐个字母地发送给用户。
我的content.yml
identification_cpf: 'Preciso que você me infome seu CPF (somente números)'
使用UMM字符串定义的代码的index.js:
convo.threads['identification'].addQuestion('#identification_cpf',
我已经将这个()修复应用于退出的Botpress of 12.7.2,现在当我从管理屏幕上单击任何机器人时,我在控制台中得到以下图像错误:
未定义的ReferenceError: BlueprintJsCore未在对象…处定义/ui-shared/dist/index.js (index.js:1)位于模块…的r (index.js:1)处/ui-在对象的r (index.js:1)处共享/dist/index.js (index.js:20)。(index.js:20) at r ( index.js:1 ) at index.js:1 at Object…/ui-共享/dist
到现在为止
const editor = grapesjs.init({
// Indicate where to init the editor. You can also pass an HTMLElement
container: '#gjs',
canvas: {
scripts: ['https://somelink.js', 'https://anotherlink.js]
},
});
我希望有这个链接,以及一些内
首先,我想表达对所有聪明的程序员的感谢。在更新了反应性路由器后,我面临着这个问题。在这里,我想提一件事,我是一个“类组件”的情人。
,但这是react.中的基本组件。
import React, { Fragment, Component } from 'react'
import axios from 'axios'
import { Col , Row} from 'react-bootstrap'
import { Link } from 'react-router-dom'
export default class Bl