AI & MLMu Mutation

previewMLModelPipeline

Topics: Aiml

Run the data pipeline over a sample WITHOUT training and return the emitted fields. Requires mlmodelconfig:execute permission.

Returns

DataScriptPreview!

Arguments

ID of the ML model config whose pipeline to preview

Optional stage list to preview instead of the saved stages (live editing)

Max emitted rows to inspect and return in sampleRows (default 1000). totalRows is the number sampled, not a full source count. Zero returns schema only; negative values are invalid. Training still reads the full source.

Exact field SDL
"""
Run the data pipeline over a sample WITHOUT training and return the emitted fields. Requires mlmodelconfig:execute permission.
"""
previewMLModelPipeline(
  """ID of the ML model config whose pipeline to preview"""
  id: MLModelConfigID!
  """
  Optional stage list to preview instead of the saved stages (live editing)
  """
  stagesOverride: [MLNormalizationStageInput!]
  """
  Max emitted rows to inspect and return in sampleRows (default 1000). totalRows is the number sampled, not a full source count. Zero returns schema only; negative values are invalid. Training still reads the full source.
  """
  sampleLimit: Int
): DataScriptPreview! @topic(names: ["aiml"])

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