The getStatus()
function lets you fetch the current status of the model, for example, to see if the model completed its training phase.
Syntax
Use the get_status()
method to check the training status of the model:
Model llama3 = mindsdb.getModel("llama3");
String modelStatus = llama3.getSatus();