Managed Service for ClickHouse API, gRPC: MlModelService.Get
Статья создана
Обновлена 26 ноября 2024 г.
Returns the specified machine learning model.
To get the list of all available models, make a List request.
gRPC request
rpc Get (GetMlModelRequest) returns (MlModel)
GetMlModelRequest
{
"cluster_id": "string",
"ml_model_name": "string"
}
Field |
Description |
cluster_id |
string Required field. ID of the cluster that the model belongs to. |
ml_model_name |
string Required field. Name of the model to return. To get a model name make a MlModelService.List request. |
MlModel
{
"name": "string",
"cluster_id": "string",
"type": "MlModelType",
"uri": "string"
}
Field |
Description |
name |
string Name of the the model. |
cluster_id |
string ID of the ClickHouse cluster that the model belongs to. |
type |
enum MlModelType Type of the model.
|
uri |
string Model file URL. You can only use models stored in Object Storage. |