@kanunilabs/pivotgrid-enterprise
@kanunilabs/pivotgrid-enterprise / getPivotAiSchema
Function: getPivotAiSchema()
getPivotAiSchema<
TRow>(controller,options?):Record<string,unknown>
The JSON Schema of this pivot's layout, as narrow as its fields allow.
Send it to your own model as the structured-output format together with
getPivotAiState() and the user's request; pass the answer to
applyPivotAiState. No model ships with the grid and nothing is sent.
Type Parameters
TRow
TRow
Parameters
controller
PivotController<TRow>
options?
Returns
Record<string, unknown>