AI & MLMu Mutation

predictMLModel

Topics: Aiml

Run a prediction using a trained ML model. Requires mlmodelconfig:execute permission.

Returns

PredictMLModelPayload!

Arguments

ID of the ML model config to use for prediction

input

String!Required

Feature values as JSON string

Exact field SDL
"""
Run a prediction using a trained ML model. Requires mlmodelconfig:execute permission.
"""
predictMLModel(
  """ID of the ML model config to use for prediction"""
  id: MLModelConfigID!
  """Feature values as JSON string"""
  input: String!
): PredictMLModelPayload! @topic(names: ["aiml"])

Declared on Mutation. Access is checked by the platform for each operation.