Model builders

Suggest a source for every model parameter with AI

Changed on

Best-guess sources: pattern rules first, then AI for the gaps; all validated.

post/model_builders/suggest

Request

  • Base URL
    https://api.ionworks.com
  • URL
    https://api.ionworks.com/model_builders/suggest
  • Auth
    none declared

Request body

model_idstring required
cell_spec_idstring required
use_aiboolean

Ask the AI to fill what the pattern rules could not place.

Response

Successful Response

sourcesobject required

Parameter -> {kind: 'cell_spec', path} | {kind: 'value', value} | {kind: 'calculation', type, options}.

reasonsobject
originsobject

Who placed it: a rule, a conventional default to confirm, or the AI.

ai_errorstring nullable

Why the AI step did not run or failed; rules still apply.

Changes