botpress

The open-source hub to build & deploy GPT/LLM Agents ⚡️

MIT License

Downloads
6.3K
Stars
12.6K
Committers
23

Bot releases are visible (Hide)

botpress - v12.26.7

Published by EFF almost 3 years ago

Botpress Server

Bug Fixes

  • channel-web: fix custom user id in events (#5591) (dbe9e2e), closes #5658
  • core: fix chat auth expiry with messaging (#5679) (63f15d5)
  • e2e: change pwd test does not reuse same pwd (#5665) (7d5dc75)
  • hitlnext: use common storage deserialisation (#5600) (d2dc154)
  • nlu: nlu client set proxy false when querying localhost (#5598) (7ba42dc)
  • nlu: nlu module returns 404 when nlu server is unreachable (#5622) (256ae57)
  • strategy-basic: disallow reusing previous password (#5619) (544320e)
  • small eslint warnings (7ba6bbf)

Features

  • core: allow disabling file listeners for dumb deployments (#5664) (b81c761)
  • adds Segment integration (#5608) (24d7ad5)

Messaging

0.1.17 (2021-11-05)

Bug Fixes

Features

0.1.16 (2021-10-28)

Bug Fixes

  • client: fix handling of not found errors (#219) (025f290)

Features

  • components: implement ui components package (#208) (a469775), closes #210
  • converse: close collector when the bot has finished processing (#217) (ccb2154)
  • twilio: twilio testing (#221) (877d448)
  • user-tokens: implement user tokens (#203) (c27fb4d)

NLU

0.1.9 (2021-10-29)

Bug Fixes

  • nlu-engine: do not modify a token if its an entity (#119) (3298d35)

Studio

0.0.42 (2021-11-09)

Bug Fixes

  • content: fix carousel img delete button (#189) (065fb47)
  • nlu: allow copy paste utterances (#171) (fcd96cb)
  • nlu: prevent creating an entity with same name as a system (#158) (4d22dd2)
  • skills: dialog overflow on too many params, fixes #149 (#151) (266cb94)
  • studio: added translations in node and flow inspector (#180) (8280b62)
  • studio: can't lose the bottom debugger panel because of window resize anymore (#170) (54c219a)
  • studio: CMS crashes on new language translation (#166) (3a1dbe5)
  • studio: DEV-1421: Fix rename node (#165) (3b407de)
  • studio: display error when no nlu modelId (#183) (644ce44)
  • studio: fix the smartinput suggestions cursor in contentform (#161) (86ea816), closes #49
  • studio: missing translation in debugger panel (#173) (bf57d63)
  • studio: select dropdown overflowing modals did not render properly - fixes #137 (#155) (77cc384)
  • studio: show webchat by default (#167) (884ebc2)
  • small eslint warnings and typings (5a75434)
botpress - v12.26.6

Published by EFF almost 3 years ago

Botpress Server

Bug Fixes

Features

Messaging

0.1.15 (2021-10-19)

Bug Fixes

  • channels: fix typing indicators always on (#201) (9015457)
  • client: fix adding custom headers (#212) (b92ca08)
  • repo: typing errors due to unknow error type (#213) (b13114e)

Features

0.1.14 (2021-10-14)

Bug Fixes

  • slack: slack image rendered requires text in title (#188) (53141f1)
  • vonage: fix too many requests when using sandbox (#176) (59982f2)

NLU

0.1.8 (2021-10-20)

Bug Fixes

  • nlu-cli: upgrade version of nlu-cli to match root version (#112) (d08ac79)
  • nlu-engine: only few languages are space separated (#114) (98c84ef)

Studio

0.0.41 (2021-10-22)

Bug Fixes

0.0.40 (2021-10-18)

Bug Fixes

botpress - v12.26.5

Published by EFF about 3 years ago

Release Notes

Bug Fixes

Studio Changes

Bug Fixes

Features

NLU Changes

Bug Fixes

  • nlu-server: models were never stored on database even when dburl was defined (#107) (c017884)
  • check for APP_DATA_PATH environment variable (#101) (2bd043a)
botpress - v12.26.4

Published by EFF about 3 years ago

Release Notes

Bug Fixes

Studio Bug fixes

botpress - v12.26.3

Published by laurentlp about 3 years ago

Release notes

Bug Fixes

  • channel-web: down mig drop all msg_ tables (#5452) (6f03d1c)
  • channel-web: fix useSessionStorage config option (#5118) (edac7c6)
  • core: add small safeguards (#5459) (a1a83c8)
  • core: bigger frontend timeout (#5455) (f976538)
  • hitl: use renderPayload from ui-shared-lite to fix undefined (#5454) (56a020c), closes #3563, #5427

Studio

0.0.36 ==> 0.0.37 see changes here

botpress - v12.26.2

Published by laurentlp about 3 years ago

Release Notes

  • analytics: fix n/a lang entries description (#5428) (87a4005)
  • builtin_image: modified how we search for mimetype in the image component. (#5401) (4dc35be)
  • channel-web: fix migration when duplicate bot ids (#5445) (3f143ed)
  • channel-web: fix typing indicator display (#5421) (84cc6b5)
  • code-editor: file listing error 'undefined is not iterable' (#5439) (1a8e329)
  • google-speech: fix using google-speech with ogg opus files (#5450) (4d76d3f)
  • hitlnext: fix scrolling overflow for shortcut (#5432) (81aa3ad)
  • misunderstood: bring back event.state.user.language (#5436) (d0268c9)
  • misunderstood: remove user language, it's never defined (#5431) (1c04dd2)
  • misunderstood: add reason to setEventStatus when switching tabs (#5384) (a991500)

NLU

0.1.5 ==> 0.1.6 see changes here

Studio

0.0.34 ==> 0.0.36 see changes here

Messaging

0.1.12 ==> 0.1.13 see changes here

botpress - v12.26.1

Published by laurentlp about 3 years ago

Release Notes

Bug Fixes

botpress - v12.26.0

Published by EFF about 3 years ago

Release Notes

⚠ Important Change Notice

In this release, the channel web was converted to use the new messaging server. This shouldn't cause any noticeable change in useability, but it does bring a large migration that converts all the messages and conversations stored in the channel-web's web_conversations and web_messages tables to tables managed by the messaging server. It also migrates any references to these conversations and messages that exist in other tables. As such, it should not incur any loss of data, and previously existing conversations will still be accesible to users, as well as previously existing HITL handoffs.

Since this migration is so large and impacts so many tables, it has been designed to work using a transaction, meaning that if anything goes wrong during the migration, all changes will be rollbacked automatically to prevent loss of data. You can also run this migration in dry mode using the --dry command line option. This will run the entire migration without applying the changes and will display the number of conversations and messages that will be migrated.

It's possible that some messages and some conversations get deleted due to new constraints required by the messaging server. For example a message pointing to a deleted or null conversation will be deleted, and a conversation pointing to a null botId will also be removed.

Payloads are now sent to the channel-web in the same format as they are stored in the content element files. This means that some usage of the sdk that relied on channel-web specific format of payloads to create events is now invalid. For example :

await bp.events.sendEvent(
  bp.IO.Event({
    botId: 'myBotId',
    direction: 'outgoing',
    channel: 'web',
    target: 'aUserId',
    type: 'file',
    // This payload format is old and deprecated. It may still work due to backward compatibility in the webchat ui but it should be ported as soon as possible
    payload: {
      type: 'file',
      title: 'My image title',
      url: 'https://www.my-website.com/my-image.png'
    }
  })
)

Should be replaced with :

await bp.events.sendEvent(
  bp.IO.Event({
    botId: 'myBotId',
    direction: 'outgoing',
    channel: 'web',
    target: 'aUserId',
    type: 'image',
    // This is the correct payload format to use. Notice that this is the same format in which your content type is saved.
    payload: {
      type: 'image',
      title: 'My image title',
      image: 'https://www.my-website.com/my-image.png'
    }
  })
)

If you were using the renderElement method already then everything should still work

// This works in both the old and new version
bp.events.replyToEvent(
  event,
  await bp.cms.renderElement(
    'builtin_image',
    { title: 'My image title', image: 'https://www.my-website.com/my-image.png' },
    event
  )
)

This change only affects builtin content types. Custom content types still use the backend renderers defined in renderElement function.

Bug Fixes

  • admin: add the chatuser role id to the filter (#5285) (f582e47)
  • admin: change pipeline stage edit endpoint (#5368) (3c97635)
  • admin: fix restarting Botpress from the admin (#5377) (8d67cca)
  • channel-web: fix missing dependencies (#5375) (ded9b67)
  • core: fix workspace error (#5374) (aca569b)
  • core: remove increment / decrement analytics actions (#5340) (b7d311d)
  • core: remove leftover debug logging (#5369) (5466b1e)
  • core: workspace management api (#5329) (9cfad4e)
  • messaging: prevent multiple bots from using same clientId (#5341) (d6adfc1)
  • misunderstood: change preview column from varchar to text (#5380) (f34fcef)

Features

  • core: add before conversation end hook and flow (#5215) (de732d1)
  • add markdown by default for misunderstood chatPreview (#5372) (60fb52c)
  • display user's object props as string on UserProfile for hitlnext (#5342) (71193d5)
  • hitlnext: add feature to filter handoffs list by tags (#5205) (2725054)

NLU

0.1.4 ==> 0.1.5 see changes here

Studio

0.0.33 ==> 0.0.34 see changes here

Messaging

0.1.8 ==> 0.1.12 see changes here

botpress - v12.25.0

Published by EFF about 3 years ago

Release Notes

Core

Bug Fixes

Features

NLU

0.1.2 ==> 0.1.4 see changes here

Studio

0.0.25 ==> 0.0.33 see changes here

Messaging

0.1.7 ==> 0.1.8 see changes here

botpress - v12.24.1

Published by daehli about 3 years ago

Release notes v12.24.1

Bug Fixes

  • ci_cd: Modified if on the dockerhub connection (#5275) (3789a40)
  • core: fix error when creating or importing a bot (#5295) (7433244)

Features

botpress - v12.24.0

Published by EFF about 3 years ago

Release notes

⚠ Important Change Notice

In this release, most of channels related code was removed from main code base and was replaced by an executable messaging server binary. When running from binary or from Docker it doesn't change anything for the user, the Messaging Server Binary ships with Botpress main binary as for Docker it's baked in the image. When running from sources, the Messaging server binary, hosted on the Github repo, is downloaded in the Botpress directory by a "postinstall" script. The Botpress core will automatically start Messaging Server on a dedicated port unless told otherwise.

Moreover, notice that channels configuration has now moved under the messaging configuration on your chatbot's config file. For more details on each channel, see the docs.

Bug Fixes

  • messaging: filter module errors for channels (#5283) (45ca7cc)
  • messaging: fix proxying search params (#5279) (9372ccc)
  • messaging: fix webhook verification (#5278) (941e832)
  • messaging: legacy route send ext url in headers (#5266) (79bc7ac)
  • messaging: use headers instead of basic auth (#5264) (c64143c)

Features

  • channel-web: add RTL support in webchat (#5251) (2a26251)
  • channel-web: RTL support for non-text content types (#5268) (fb5d673)

Studio changes

v0.0.25

NLU changes

v0.1.3

botpress - v12.23.2

Published by EFF about 3 years ago

Release Notes

Bug Fixes

  • core: fix disk storage race condition (#5162) (86102b3)
  • teams: fix receiving quick replies with channel-teams (#5230) (acb79a3)
  • nlu regression testing (0916cf8)
botpress - v12.23.1

Published by daehli about 3 years ago

Release

12.23.1 (2021-07-29)

Bug Fixes

  • channel-telegram: clean up carousel caption (#5204) (25e1924)
  • channel-web: fix missing payload of file upload (#5184) (00ebee4)
  • channel-web: fix voice audio support (#5198) (381204f)
  • channel-web: prevent message sorting issue (#5189) (265edfd)
  • core: add action not found error to events (#5203) (121b533)
  • core: log an error if an action isn't found (#2826) (#5201) (17cd4aa)
  • docker: module builder image (#5218) (999d2dd)
  • google-speech: move closest number utils into google-speech code (#5199) (2d838c8)
  • google-speech: use studio url for tts audio upload to media storage (#5197) (71c41bd)
  • nlu: allow to skip spellcheck with an env variable (#5192) (526dcfc)
  • failing e2e test (#5196) (85a5d20)

Features

  • channel-web: allow to have noBubble message from custom content type (#5181) (b4d7f03)
  • core: Allow creation of the first user via env variables (#5195) (813b482)
  • devops: Dockerhub Added latest, main and feature branch for dockerhub (#5211) (452c5c8)
botpress - v12.23.0

Published by EFF over 3 years ago

Release notes

⚠ Important Change Notice

In this release, all Studio related code was fully removed from main code base and was replaced by an executable binary. Studio code was moved in its own repository. When running from binary or from Docker it doesn't change anything for the user, the Studio Binary ships with Botpress main binary as for Docker it's baked in the image. When running from sources, the Studio binary is hosted on the Github repo page and is downloaded in the Botpress repo by a "postinstall" script. The Botpress core will automatically start studio on a dedicated port unless told otherwise.

Bug Fixes

Features

botpress - v12.22.2

Published by EFF over 3 years ago

Release Notes

Bug Fixes

Features

botpress - v12.22.1

Published by EFF over 3 years ago

Release Notes

12.22.1 (2021-06-03)

Bug Fixes

  • build: check module-builder image on master only (#5032) (bd6d63a)
  • builtin: default transition on entry nodes for empty bot template (#4999) (66e1a7a)
  • core: fix 'socket hang up' before 20 minutes for bp-push (#5009) (9a21cbc)
  • core: fix bot migration (#5049) (8c44e10)
  • core: fix generating diag report with the pro version (#5062) (f10f10a)
  • core: fixes to improve flow loading speed (#5050) (7c68266)
  • core: invalidate module config cache on file change (#4569) (3b48294)
  • core: jumpTo accepts flow name as argument (#5000) (42e17ff)
  • core: telemetry only on mounted bots (#5052) (26746a1)
  • docs: wrong saml URLs (#5033) (a865f3d)
  • ndu: fix blank page in flow editor (#5028) (d18f975)
  • ndu: fix display of intent is trigger editor (#5027) (2033939)
  • nlu: fix bot delete when nlu unavailable (#5053) (8101a0c)
  • nlu: no more nlu token when nlu server is auto started (#5010) (2f3d7c5)
  • studio: moving multiple nodes (#5041) (35e6da7)
  • studio: right sidebar UI flow (#5046) (20e58cf)
  • dockerfile no need to chmod nlu bin (#5006) (d9dcfd9)

Features

botpress - v12.22.0

Published by EFF over 3 years ago

Release Notes

This release contains important architectural changes, see important change notice below.

Bug Fixes

Features

Important change notice

Replace NLU engine by executable binary of NLU Server

In this release, all nlu related code (except the nlu module) was fully removed from main code base and was replaced by an executable binary. The code was moved in this repository. The NLU server binary is hosted on the Github repo page and is downloaded in the Botpress repo by a "postinstall" script. The botpress core will automatically start the NLU server unless told otherwise. The NLU module now use an HTTP client to make trainings and predictions.

How to use

By default, Botpress core starts the NLU server at runtime, so nothing is expected from the user, Botpress will still work the same.

  • If you want to start the NLU server by yourself, just set nluServer.autoStart = false in the nlu json config file. You'll then have to specify endpoint and auth-token of your manually started NLU server. Keep in mind that NLU server is not distributed yet, so each instance of your botpress infra should always communicate with the exact same instance of NLU Server. More on that in # self-hosting section.
  • If you want to download binaries manually, you can do so here. You then can set the environment variable NLU_BIN_DIR to tell botpress where you binaries are located.
  • The default binaries location is out/bp when Botpress is ran from sources and out/binaries when ran from binary.
  • NLU Server version are tagged in package.json.

Self Hosting

If you want to self host your NLU server, make sure each instance of your Botpress infra always use the same instance of NLU Server like shown on the following image. NLU Server is not yet available for multi-clustered infrastructure setup.

image

botpress - v12.21.1

Published by EFF over 3 years ago

Release Notes

Note: This patch also contains some minor visual changes to the administration ui but contains absolutely no change to functionality.

Bug Fixes

  • channel-smooch: fix sending image content-elements (#4915) (a98453a)
  • channel-vonage: fix sending image content-elements (#4901) (1afc0fa)
  • channel-vonage: make sure carousel does not fire more than 1 req/s (#4893) (a721eff)
  • channel-web: fix conversationId validation bypass (#4902) (a27f22c)
  • converse: wait for outgoing events before sending response (#4855) (7a3b732)
  • core: fix botconfig migration (#4904) (17962d0)
  • core: various fixes for bp-push (#4908) (67f15d2)
  • docs: wrong BP_MODULE_NLU_DUCKLINGURL example (#4884) (cf11716)
  • studio: fix node properties display for NDU bots (#4906) (1858925)

Features

botpress - v12.21.0

Published by EFF over 3 years ago

Bug Fixes

Features

botpress - v12.20.2

Published by EFF over 3 years ago

Bug Fixes

  • admin: incorrect route for module upload (#4818) (823d965)
  • channel-web: don't list convos with no events (#4764) (18206fc)
  • core: database migration path (#4794) (3201b9b)
  • core: use relative file path for media files (#4830) (3a74c2e)
  • hitlnext: send webSessionId when assigning handoff (#4836) (7e9f4c9)
  • nlu: Default to global context when no context matched (#4814) (493a1a8)
  • nlu: update pre-trained models path (#4819) (4fef3bd)
  • studio: allow to scroll content of action overlay popover (#4804) (8a6e4b0)
  • studio: remove its lite dependency with modules (#4760) (ef02169)
Package Rankings
Top 1.72% on Npmjs.org
Badges
Extracted from project README
Discord YouTube Subscribe Documentation @botpress/sdk @botpress/cli
Related Projects