Skip to content

Commit

Permalink
Add agent model name to request query when posting to rasa nlu throug…
Browse files Browse the repository at this point in the history
…h nlu_router middleware.
  • Loading branch information
Deep-Blue-2013 committed Aug 23, 2018
1 parent 537c0d8 commit b373b40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/routes/mw_routes/nlu_router.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ function trainRasaNlu(req, res, next) {

request({
method: "POST",
uri: global.rasanluendpoint + "/train?project=" + req.query.project,
uri: global.rasanluendpoint + "/train?project=" + req.query.project + "&agent=" + req.query.name,
json: req.body
}, function (error, response, body) {
if(error){
Expand Down

0 comments on commit b373b40

Please sign in to comment.