botpress / nlu

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

chore(lang-client): create package lang client to query lang server with typings #117

Closed franklevasseur closed 3 years ago

franklevasseur commented 3 years ago

This PR includes

  1. creating a lang-client package
  2. slightly modifying the response body returned on errors by language-server
  3. no longer support old API for the /tokenize route
  4. refactoring the language server. This includes:
    • adding a lot of typings
    • moving around some logic
    • renaming files

What's left: