Home

Model Parameters

This is a type used in Stencila Schema for selecting and configuring generative AI models.

It exists to make model choice and inference settings part of the document model, so prompts, chats, and instructions can be reproduced and inspected rather than depending on hidden runtime configuration. This supports transparent and portable AI-assisted workflows.

Key properties include model identity, provider-specific settings, and inference controls such as temperature and token limits.

Properties

The ModelParameters type has these properties:

NameDescriptionTypeInherited from
modelIdsThe ids of the models to select.String*-
replicatesThe number of replicate inferences to run per model id.UnsignedInteger-
qualityWeightThe relative weighting given to model quality (0-100).UnsignedInteger-
costWeightThe relative weighting given to model cost (0-100).UnsignedInteger-
speedWeightThe relative weighting given to model speed (0-100).UnsignedInteger-
minimumScoreThe minimum score for models to be selected (0-100).UnsignedInteger-
temperatureThe temperature option for model inference (0-100).UnsignedInteger-
randomSeedThe random seed used for the model (if possible)Integer-
executeContentAutomatically execute generated content.Boolean-
executionBoundsThe environment in which code should be executed.ExecutionBounds-
maximumRetriesWhen executing content, the maximum number of retries.UnsignedInteger-
idThe identifier for this item.StringEntity

Related

The ModelParameters type is related to these types:

Bindings

The ModelParameters type is represented in:


This documentation was generated from ModelParameters.yaml by docs_types.rs.

© 2026 Stencila