1.1 KiB
1.1 KiB
MlInferTrainedModelRequest [interface-MlInferTrainedModelRequest]
| Name | Type | Description |
|---|---|---|
body |
string | ({ [key: string]: any; } & { model_id?: never; timeout?: never; docs?: never; inference_config?: never; }) |
docs |
Record<string, any>[] | An array of objects to pass to the model for inference. The objects should contain a fields matching your configured trained model input. Typically, for NLP models, the field name is text_field. Currently, for NLP models, only a single value is allowed. |
inference_config |
MlInferenceConfigUpdateContainer | The inference configuration updates to apply on the API call |
model_id |
Id | The unique identifier of the trained model. |
querystring |
{ [key: string]: any; } & { model_id?: never; timeout?: never; docs?: never; inference_config?: never; } | All values in querystring will be added to the request querystring. |
timeout |
Duration | Controls the amount of time to wait for inference results. |