Questions tagged [botpress]

Botpress is an open-source bot framework written in TypeScript. It comes with a wide set of functionalities including a built-in NLU and a flow editor.

49 questions
0
votes
1 answer

Launcher Unhandled Rejection [TypeError, Cannot read property 'createUser' of undefined]

I'm testing Botpress under Windows. Just downloaded latest binaries, unpacked BP, embedded to site and ran default 'Welcome' bot without modifications. When I started webpage and chat to bot, it gives an error in a log: 11/05/2022 11:27:32.360…
0
votes
1 answer

Restore existing conversation of custom userId in Botpress

On our website, we use Botpress' website embedding function which displays the bot and allows interacting with it. Up to this point,…
Tommy
  • 2,355
  • 1
  • 19
  • 48
0
votes
1 answer

Export conversations from Botpress

How can I easily export all the messages from my conversations with the chatbot? When I try to export the logs from Botpress the text file is always empty
ina
  • 11
  • 1
0
votes
0 answers

UserID in botpress converse api

I set up a test bot in a botpress environment and am trying to access the chat via the converse api (is this not the right way?), using these endpoints: Login on the Admin UI # @name login POST {{baseUrl}}/api/v1/auth/login/basic/default…
wiseguybec
  • 79
  • 1
  • 5
0
votes
1 answer

How to use KVS in Botpress and functionality using Node Js?

In Botpress I want to store the authKey and Expiry in that and call for each iteration when ever the key expires it should call again the function and store it. btw there is no refresh key, the API provides only key and expiry There is very limited…
Sai
  • 91
  • 1
  • 11
0
votes
1 answer

How to validate use entered phone number using slots in botpress?

I am experimenting on botpress slots . There is the new option called as slot which will validate the user input . However I am not able to find resources which will validate the user input. The bot must validate the use input as a phone number…
Sanket Wagh
  • 156
  • 1
  • 14
0
votes
1 answer

Apache Module mod_proxy_wstunnel not working

I have a website running at http://XXX.XXX.XXX.XXX:3000 and it runs [Botpress][1] In order to have it running via HTTPS I made an Apache reverse proxy configuration: My file looks like: SSLProxyEngine on ProxyPass "/" …
Dev Dev
  • 314
  • 4
  • 17
0
votes
1 answer

How to host a Botpress Chatbot in Heroku platform after creating it?

My Botpress chatbot is ready to get deployed. I have gone through the documentation provided in the Botpress official website about how to deploy it in the Heroku platform but couldn't figure out mot of the things. Can someone help me with it?
0
votes
1 answer

Unhandled Rejection [TypeError, Cannot read property 'split' of undefined]

The error given below is causing BotPress v12.21.1 server to crash. It doesn't give any other details about the error. I was getting the same error in BotPress v12.14.1, but it wasn't crashing the server. Launcher Unhandled Rejection [TypeError,…
0
votes
1 answer

Postgresql column exists, but getting column of relation does not exist

query = 'insert into ' + table + "( replyDate) values('" + event.state.session.lastMessages .map(function(elem) { return elem.replyDate }) .join(',') + "')" I have a table called…
Boufz
  • 3
  • 3
0
votes
1 answer

Botpress Converse API: Event Order mixed up in the database (events table)

This issue only exists with the Converse API, when using the Webchat it works fine. When checking the database the timestamp in ‘createdOn’ is the exact same for messages that are sent sequentially, which is the reason why the order is mixed up,…
Nico
  • 157
  • 1
  • 15
0
votes
1 answer

botpress from hub.docker start in PostgreDB

I want to use botpress with PostgreSQL. Found on https://hub.docker.com/r/botpress/server example docker run --detach \ --name=botpress \ --publish 3000:8080 \ --volume botpress_data:/botpress/data \ --env…
Nikolay Baranenko
  • 1,582
  • 6
  • 35
  • 60
0
votes
1 answer

Diasabling user input during skill choice botpress

I am new to botpress and working on a project where I want to disable the user input and send button. so is this possible in the current botpress version? if anyone can help me with this?
0
votes
1 answer

Creating new bot from template using API in botpress

Is it possible to create a BotPress bot entirely using the API? More specifically, can I accomplish most of all of what I would do in the UI by just using API methods? I looked, and I don't see a createBot() method, so I'm wondering if this is…
0
votes
1 answer

Botpress behind a Nginx reverse proxy

I am thinking of setting up multiple chatbots as in a containerized platform lets say docker or Kubernetes, and I would want to be able to access these chatbots through a reverse proxy such as Nginx. any help is appreciated. My example scenario I…