Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(stan): get stan ready for launch #4341

Merged
merged 6 commits into from
Jan 8, 2021
Merged

feat(stan): get stan ready for launch #4341

merged 6 commits into from
Jan 8, 2021

Conversation

franklevasseur
Copy link
Member

@franklevasseur franklevasseur commented Jan 6, 2021

Get Stan ready for launch with some makeup. Did a bunch of little small things:

What was done

  • Return success: false if no training found
  • HTTP header X-Powered-By: Botpress NLU
  • Print HTTP documentation on start (won't print if --silent=true)
  • Add example.json for training input
  • Add validation on all routes (only POST /train is validated)
  • Maybe change param texts at POST /predict route for utterances which is conform to current botpress vocab

When no --silent=true argument is passed, terminal looks like this:

Screen Shot 2021-01-06 at 1 34 27 PM

@EFF EFF merged commit 793b9f7 into master Jan 8, 2021
@EFF EFF mentioned this pull request Jan 8, 2021
@franklevasseur franklevasseur deleted the fl_stan_log branch January 20, 2021 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants