Save or delete semantic models (reusable metrics) and the business rules that explain them.
Parameters for this action
model_namestringoptionalName of the model to save or delete, e.g. 'revenue_monthly'definitionstringoptionalsave_model: the model definition (JSON or YAML): its source data, dimensions and measures
Example prompts
- >Save monthly active users as a reusable metric
- >Define revenue as the sum of amount where status is paid
Parameters for this action
model_namestringoptionalName of the model to save or delete, e.g. 'revenue_monthly'
Example prompts
- >Delete the old churn metric
Parameters for this action
contentstringoptionalThe business rules to save, written as Markdown
Example prompts
- >Add a rule that refunds are excluded from revenue