Release Notes
This release contains important architectural changes, see important change notice below.
Bug Fixes
- builtin: fix card image subtype (#4996) (61ff663)
- channel-vonage: fix storing large files using the module action (#5004) (44d1547)
- core: removed empty object in default alerting rules (#4935) (ec510b4)
- nlu: fixes on new election logic (#4998) (184735e)
- nlu: include language detection and all predict tries in ms (#4986) (b97d205)
- nlu: prediction error logging (#4942) (761eaeb)
- studio: right sidebar UI fixes (#4925) (e3a6077)
- studio: visual glitches (#4924) (e3e89fd)
- webchat: fix file upload (#4994) (88c2627)
Features
- admin: workspace apps (#4887) (ede423a)
- channel-messenger: use channel renderers (#4992) (e5738d3)
- channel-smooch: use channel renderers (#4919) (339bb9b)
- channel-teams: use channel renderers (#4993) (bb5aa65)
- channel-vonage: add channel-vonage (#4789) (f17695f), closes #4820 #4819 #4818 #4812 #4815 #4830 #4760 #4686 #4687 #4764 #4684 #4841 #4840 #4839 #4836 #4827 #4781 #4798 #4852 #4856
- channel-vonage: add support for file reception (#4914) (a0384ce)
- channel-vonage: add support for WhatsApp Templates (#4927) (597c6ca)
- channel-vonage: use channel renders (#4929) (c327210)
- channel-web: add support for audio and video display (#4989) (6453637)
- channel-web: add support for voice messages (#4995) (6ed4639)
- core: allow middlewares to override timeout limit of runtime duration (#4923) (43d25ce)
- core: channel renderers (#4793) (8e7fad8), closes #4800 #4868 #4871
- core: location content type (#4988) (dfffc7d)
- google-speech: add google speech module (#4876) (b53dcb7), closes #4820 #4819 #4818 #4812 #4815 #4830 #4760 #4686 #4687 #4764 #4684 #4841 #4840 #4839 #4836 #4827 #4781 #4798 #4852 #4856
- hitlnext: display custom component in live chat (#5001) (8c11fc0)
- module-builder: add Dockerfile #4790 (#4791) (797e23b)
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 andout/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.