AI & MLQu Query

analyzeMLModelSource

Topics: Aiml

Check ml-model XML without saving it: returns { valid, diagnostics: [{ path, message, severity, sourceRange }], elements }, where elements is the compiler's vocabulary for editor completion. Requires mlmodelconfig:read permission.

Returns

JSON!

Arguments

Complete ml-model XML to check without saving it anywhere.

Exact field SDL
"""
Check ml-model XML without saving it: returns { valid, diagnostics: [{ path, message, severity, sourceRange }], elements }, where elements is the compiler's vocabulary for editor completion. Requires mlmodelconfig:read permission.
"""
analyzeMLModelSource(
  """Complete ml-model XML to check without saving it anywhere."""
  sourceXML: String!
): JSON! @topic(names: ["aiml"])

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