Rasa: Switch between Projects in Rasa core as we do in rasa nlu.

Created on 4 Jan 2019  路  4Comments  路  Source: RasaHQ/rasa

Is this possible to switch between project on same port ??
I have already asked my questions in forum, but I did not get reply up till now.

Is there any parameter to pass the project name while requesting ?

curl -X POST http://localhost:5002/webhooks/rest/webhook   -d '{"sender": "aziz", "message": "hi"}'   -H "Content-type: application/json"

````
python -m rasa_nlu.server -c nlu.yml --path models/nlu --port 5003

we can use any of these.

1-http://localhost:5003/parse?q=hi&project=resturant
2- http://localhost:5003/parse?q=hi&project=hotel
```

Most helpful comment

What if you have a lot of small projects ? and a lot of short stories. like project of different languages. We cannot keep them together. like for a language, we have four different strategies for a user. The user will have to decide the strategy which one to select. it would be easy if we would have the project name.
Like would be having a lots of projects. We can not remember the ports and it is hard to maintain.
I hope you get it.

All 4 comments

Thanks for raising this issue, @tmbo will get back to you about it soon.

No this is currently not possible and I am not sure it should be possible. In terms of isolation and moving a bot in production, it is way better to keep them isolated and run each of the bots in e.g. a separate docker container.

What would be the benefit of having projects?

What if you have a lot of small projects ? and a lot of short stories. like project of different languages. We cannot keep them together. like for a language, we have four different strategies for a user. The user will have to decide the strategy which one to select. it would be easy if we would have the project name.
Like would be having a lots of projects. We can not remember the ports and it is hard to maintain.
I hope you get it.

@azizullah2017 i'll close this issue because it's not something we're planning on doing at the moment

Was this page helpful?
0 / 5 - 0 ratings