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
1
vote
1 answer

Persisting Botpress running on my server instance

So I am able to setup Botpress bot engine to my Alibaba Cloud VPS instance but immediately I exit the terminal, the engine stops. Would anyone kindly help me know how to persist the instance after I exit the terminal. I am using the pre-compiled…
Alex
  • 21
  • 1
  • 3
1
vote
1 answer

Creating an API that reads text in and uses it

SOLVED (see below) I'm trying to create an API so that I can read in text (from a word document) and have the bot in botpress respond with a section of that text. I'm confused about a couple of things: What structure should my API follow (what file…
AVu
  • 125
  • 2
  • 12
1
vote
1 answer

Cannot connect nlu in Docker container

I am trying to run Botpress with docker. I set my Dockerfile as follows: FROM botpress/server:v11_9_5 ADD . /botpress WORKDIR /botpress CMD ["./bp"] After building image, I run docker run my_image:latest to start my botpress. However it cannot…
Jimmy
  • 11
  • 2
1
vote
1 answer

Connect botpress with RASA_NLU

I have been trying to use rasa_nlu instead of native botpress nlu. Here is my code. data/global/hooks/01_ras_nlu.js const axios = require('axios') const eventTypes = ['text'] // Process only ‘text’ events async function rasaExtract() { if…
KbiR
  • 4,047
  • 6
  • 37
  • 103
0
votes
0 answers

Botpress timeout flow javascript code does not seem to be working

I want to set a timer for one minute, during the timer keep checking the workflow.stillThere variable every second, if it is not empty, stop the code execution const timerDuration = luxon.Duration.fromObject({ minutes: 1 }); const endTime =…
0
votes
0 answers

How to add Calendar Input to Botpress

So I'm creating a chatbot using Botpress.com and it's for restaurant reservations. For the date and time I want the user to be able to click on the available dates, but sadly there is no such thing as calendar input. Is there a workaround that I…
0
votes
0 answers

Botpress and Teams integration: HTTP status code BadRequest

I'm having an issue on integrating Botpress with Microsoft Teams. I followed their docs https://botpress.com/docs/cloud/channels/teams/ and this video https://www.youtube.com/results?search_query=botpress+teams. I made everything that is asked.…
0
votes
0 answers

Why i get null or undefined value for this code, i am trying to connect my botpress with stackAi,

Here is the code const endpoint = "https://www.stack-inference.com/run_deployed_flow?flow_id=64b1aa0eeb1096a9b84e20ef&org=e55254da-2736-41bb-9549-798937b4a981"; const headers = { Authorization: 'Bearer 769ecdad-dd21-48fe-988b-78e188440e34', …
0
votes
1 answer

Botpress whatsapp field extraction

I have a chatbot built using the botpress cloud, there are two types of user employee and tenant, also the user can select english or arabic as the language, this chatbot is integrated with whatsapp, the arabic language is working fine with the…
0
votes
0 answers

Why can't my botpress NLU find the number in 1100cm?

I use Botpress V12 selfhosted. I have a NLU intent in botpress that should get the sizes of trucks out of the answer. The intent includes short and long answers to train the bot. One problem keeps occuring: the bot understands '1100 cm' but not…
0
votes
0 answers

Cancel the flow and go back to the first node in botpress

We are using botpress for chat bot where all flow are working fine, but we need to implement one functionality that handles the cancel. We created a nlu and assigned a flow to handle it but still flow is not being handled properly. /** * Small…
0
votes
0 answers

Displaying multiple selectable options in chat using SDK in Botpress

I'm currently working with the 12.28.0 version of Botpress and I'm encountering an issue related to displaying multiple selectable options in the chat interface. I have an API integration where I fetch data and generate a message using…
GD7
  • 1
  • 2
0
votes
1 answer

Deploying Botpress in React js project as a component

I'm trying to integrate botpress bot that i've trained as a component in react js project and not to always appear on the right side of the screen as a second layer!. here is my code for the deployement: import React, { useEffect } from…
BSL Nada
  • 3
  • 2
0
votes
1 answer

Adaptive Cards on MS Teams

I have created a bot with Botpress and connected it to MS Teams via Azure. I would now like to send an adaptive card in Teams. I found out that you can send an adaptive card in teams like this:…
0
votes
0 answers

My callbak url is verified with postman but not verified when verifying from facebook messenger

I verify my webhook on postman using this code from the documentation: GET https://www.your-clever-domain-name.com/webhooks? hub.mode=subscribe& hub.verify_token=mytoken& hub.challenge=1158201444 But when launching the webhook verification for…