botpress / nlu

This repo contains every ML/NLU related code written by Botpress in the NodeJS environment. This includes the Botpress Standalone NLU Server.
22 stars 21 forks source link

chore(nlu-cli): arg --version prints independant version for nlu and lang server #115

Closed franklevasseur closed 2 years ago

franklevasseur commented 2 years ago

Previously when you typed argument --version you were receiving the version of the nlu-cli package. A package that literally nobody on earth except me cared about.

Now: ./nlu --version prints the nlu-server version ./nlu lang --version prints the lang-server version

These versions also appear in their respective package.json and are displayed on boot.

I know it seems complicated, but the reason for this is simple: The nlu binary contains 2 different and independent servers: nlu-server and lang-server. I don't want to force them to use the exact same version.