modzyClient.getModelByName
Retrieve model details by name
modzyClient.getModel(String modelName)
Searches for a model that matches a provided name. If the search finds multiple models, it will return the closest match. The output includes all model's details (modelId, latestVersion, author, name, versions, and tags).
Parameters
| Parameter | Type | Description | Example |
|---|---|---|---|
modelName | java.lang.String | A model name or a part of it | "Sentiment Analysis" |
Returns
com.modzy.sdk.model.Model A model object fully populated.
Examples
Model model = modzyClient.getModel("Sentiment Analysis");
System.out.println(String.format(" %s", model));
Updated almost 2 years ago
