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
6
votes
1 answer

How to customize user dialog in botpress ver 11.9.5?

I am trying to add timestamp to every dialog in botpress chat. So far I am able to add this timestamp in bot's dialog, but I need some pointers in adding the same to user's dialog and choice skill. Screenshot from chat showing timestamp in bot's…
AabinGunz
  • 12,109
  • 54
  • 146
  • 218
4
votes
1 answer

Botpress webchat authetication

I am trying to use authentication in BotPress web chat interface. I have seen the example here: BotPress Login So to start with I am trying login_prompt. But how the redirection to login prompt will happen? I have tried putting all 3 things…
Prateek
  • 342
  • 1
  • 3
  • 15
3
votes
0 answers

Botpress - Custom Component access to session variable

I'm using Botpress to implement a custom chatbot solution. I have a file upload custom component which has to accept a file and send it to my server with an authentication header. My custom component needs to have an accessToken in order to call the…
Macaret
  • 797
  • 9
  • 33
3
votes
2 answers

How to get json object in botpress custom component?

I am calling an api from botpress which returns a list of objects which I need to display in my custom component, but I always get it as string InfaLinkPreview.jsx: "[object Object]" if I use console.log(JSON.parse(this.contentArray)) I get below…
AabinGunz
  • 12,109
  • 54
  • 146
  • 218
3
votes
0 answers

How can botpress display a dynamic list of skill choices?

I can't figure out how to dynamically generate options for the Botpress choice skill. Is it possible through external js files? Thanks
2
votes
1 answer

botpress - increment vlaue

I am trying to get a custom action running to simply incrementing a value on passing a specific node on the flow. My custom actions looks like this: function action(bp: typeof sdk, event: sdk.IO.IncomingEvent, args: any, { user, temp, session } =…
LorAutumn
  • 21
  • 3
2
votes
1 answer

Connecting botpress to external postgres DB server over SSL

I need to connect botpress to my external DB server which runs on a separate server from botpress. The connection is over SSL as this is required by the DB server and cannot be switched off. I can connect from the vps where botpress runs to the DB…
codebird456
  • 505
  • 8
  • 19
1
vote
1 answer

How to load third party scripts in a single route in react?

I am importing a third party script into my react application. The third party script is for a chatbot application built with botpress v12. I have made a react component as chatbot and implemented them in the parent page. But the problem is that,…
1
vote
1 answer

Botpress binaries are no longer available on the official site

Since Botpress has released the Botpress Cloud version, it is very hard to find in the oficial site the download link to get the binaries for Windows, Mac, Linux or the Docker Image. Every link to get Botpress guide the user to try the cloud…
Leonardo Nomdedeu
  • 814
  • 1
  • 8
  • 11
1
vote
0 answers

Integration of Gupshup into Botpress

I am developing a bot in Botpress and we're thinking of integrating it into Gupshup, which appears not to be supported by the Botpress team (https://github.com/botpress/messaging/, https://botpress.com/docs/messaging-channels/supported-channels). I…
1
vote
1 answer

How to connect to postgres database in botpress?

I am having issue connecting botpress localhost server to postgres database. I have set a .env file in the directory where bp.exe is present. I have referred many sites but was not able to connect to postgres below is .env…
Sanket Wagh
  • 156
  • 1
  • 14
1
vote
1 answer

Uncaught ReferenceError: BlueprintJsCore is not defined Botpress

I have applied this (Issue) fix to my exiting Botpress of 12.7.2, now when I click on any bot from the admin screen I get the following image error in the console saying Uncaught ReferenceError: BlueprintJsCore is not defined…
Mangrio
  • 1,000
  • 19
  • 41
1
vote
1 answer

Botpress send and get file from MS Teams

At first, to connect my Botpress bot with MS Teams, I followed these procedures from Botpress MsTeams connection page, but in this way, I can't send messages to the bot. I made some research and find out I need to publish my bot as an app. To solve…
1
vote
0 answers

Integrating botpress as backend to chat widget built in react

I am using react chat widget as frontend and I want to connect it to botpress as the backend for functioning. I have a function in my app.js file. handleNewUserMessage is the function responsible to hit botpress and getback the response. Here is the…
1
vote
1 answer

How can get chat history of users in botpress?

I am working on Botpress chatbot. I need to send an email with a current user chat history. I have no idea how to achieve this. Version using: Botpress V12.2.0 I googled and documents. but found nothing related to it.
NotNot One
  • 11
  • 1
1
2 3 4