How to switch between models in rasa core

I want to switch between project as we do in rasa-nlu by specifying the project name. how is it possible in rasa core ??? I cannot use different ports.

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

we do not pass any parameter like project name while requesting

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

@akelad @Ghostvv @MetcalfeTom

currently this is not possible

You can create different agents and specify which agent you want to send it to, but you need to create your own server and load a different agent per route.

i.e. http://localhost:5003/parse?q=hi&agent=resturant&version=1

http://localhost:5003/parse?q=hi&agent=resturant&version=2

And have those point to two different models

@adrianhumphrey111 thanks for the reply. can you share the source code please.