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

feat(nlu-client): make nlu-client configurable with an axios config #104

Closed franklevasseur closed 2 years ago

franklevasseur commented 2 years ago

This PR allows:

  1. to pass an axios config at the nlu-client ctor
  2. to access the axios instance of the nlu-client (in read only)
  3. won't throw on error status code that are expected and part of a normal nlu-server life-cycle (ex: 404 if no model)