github botpress/botpress v12.22.0

latest releases: v12.30.9, v12.30.8, v12.30.7...
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

Don't miss a new botpress release

NewReleases is sending notifications on new releases.