Skip to content
This repository has been archived by the owner on Jun 17, 2024. It is now read-only.

adding model parameter #3

Open
matteoredaelli opened this issue Jun 21, 2017 · 5 comments
Open

adding model parameter #3

matteoredaelli opened this issue Jun 21, 2017 · 5 comments

Comments

@matteoredaelli
Copy link

The /parse get requste can accept a "model" parameter

$ curl 'localhost:5000/parse?q=hello&model=hotels'
$ curl -XPOST localhost:5000/parse -d '{"q":"I am looking for Chinese food", "model": "restaurants"}'

as you can see at https://github.com/RasaHQ/rasa_nlu/blob/master/docs/http.rst

is it possible to manage it in this package?

thanks
matteo

@matteoredaelli
Copy link
Author

matteoredaelli commented Jun 22, 2017

The "model" parameter has just added to

https://github.com/sohlex/botkit-rasa

@benbrown
Copy link

@sohlex can you send us a PR for this change too?

@matteoredaelli
Copy link
Author

the "model" parameter was renamed to "project"

can you add it in your package?

regards
Matteo

@sohlex
Copy link
Contributor

sohlex commented Sep 29, 2017

I'll send a PR asap, sorry for not being so active lately :)

@sohlex
Copy link
Contributor

sohlex commented Oct 14, 2017

PR #4 opened.
It would not only add the fix (credits to @matteoredaelli ), but it aligns everything with souled/botkit-rasa repo.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants