Now when wren-ai-service is started, the document store is being cleaned, and users need to manually deploy the model. It's cumbersome, and this PR aims to solve the issue by trying to auto-redeploying the mdl model. In case there is no mdl model defined in wren-ui, the error will be thrown and we just ignore it. This PR is based on Andy's work by allowing deploying the mdl model by force.
Now when wren-ai-service is started, the document store is being cleaned, and users need to manually deploy the model. It's cumbersome, and this PR aims to solve the issue by trying to auto-redeploying the mdl model. In case there is no mdl model defined in wren-ui, the error will be thrown and we just ignore it. This PR is based on Andy's work by allowing deploying the mdl model by force.