I am using Rasa 0.14.6 How can I delete from rasa nlu server memory the model once I create a new model with same name

I am using Rasa 0.14.6 How can I delete from rasa nlu server memory the old model once I create a new model with same name. I tried requests.delete(“http://localhost:5005/models?project=default&model=model_name”) but when the model is not found, the request returns 500 and the rasa nlu server stops functioning and I am unable to hit /parse request. Is there a way to find out if the model is in rasa server memory first and then delete it using above method.

hi @devendra3583! get /status should tell you about which models are loaded HTTP API

and delete /models will unload from memory HTTP API