ModelInfo Class
- java.
lang. Object - com.
azure. ai. inference. models. ModelInfo
- com.
Implements
public final class ModelInfo
implements JsonSerializable<ModelInfo>
Represents some basic information about the AI model.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Model |
fromJson(JsonReader jsonReader)
Reads an instance of Model |
| String |
getModelName()
Get the model |
| String |
getModelProviderName()
Get the model |
|
Model |
getModelType()
Get the model |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Method Details
fromJson
public static ModelInfo fromJson(JsonReader jsonReader)
Reads an instance of ModelInfo from the JsonReader.
Parameters:
Returns:
Throws:
getModelName
public String getModelName()
Get the modelName property: The name of the AI model. For example: `Phi21`.
Returns:
getModelProviderName
public String getModelProviderName()
Get the modelProviderName property: The model provider name. For example: `Microsoft Research`.
Returns:
getModelType
public ModelType getModelType()
Get the modelType property: The type of the AI model. A Unique identifier for the profile.
Returns: