cases

Generate notebook patches from parameter choices

Generate patches that apply user-chosen parameter values to a case notebook. Each parameter's top-level assignment is located in the notebook's parameter cell (the code cell tagged "parameters"; only that cell is ever rewritten) and its right-hand side is deterministically replaced with the given value; the title describing the resulting computation is generated by the LLM. Returns the title and a list of per-cell patches.

post/cases/generate_notebook

Request body

case_template_idstring

Public id of the case template the notebook belongs to. When present, the template's parameter definitions (value types, labels and units) drive value quoting and the generated title; without it the current right-hand side of each assignment decides the quoting.

language'ja' | 'en'

Language for the generated title. Defaults to "ja".

notebookobject required

The notebook JSON object (.ipynb) to rewrite.

Response

Notebook patches generated successfully

titlestring required

Short title describing the computation with the applied parameters.

Changes

No recorded changes to this endpoint across all 1 revision of this API.