runId generated in log_model call needs to be accessed in mlflow models serve
I am trying to run mlflow bare minimum to deploy custom models
1st step taken : I save the model using log_model observation: the artifacts are duly saved in mlruns
2nd step taken: i am able to serve using mlflow models serve -m runs: observation: the server is started at 5000
3rd step taken: i am able to run a curl invocation to predict observation: prediction returned
Question : How do i get the runId generated in Step1 to be passed to Step2 ie does the log_model
Please advise the recommended workflow for the above use case (whether tracking/mlflow server) need to be used etc..
mlflow.pyfunc.log_model(artifact_path="artifacts", python_model=add5_model)
Question: how to access the runId returned by the above log_model to call in mlflow models serve -m runs