Home

Instruction Block

Properties

The InstructionBlock type has these properties:

NameDescriptionTypeInherited from
idThe identifier for this item.StringEntity
executionModeUnder which circumstances the node should be executed.ExecutionModeExecutable
compilationDigestA digest of the content, semantics and dependencies of the node.CompilationDigestExecutable
compilationMessagesMessages generated while compiling the code.CompilationMessage*Executable
executionDigestThe compilationDigest of the node when it was last executed.CompilationDigestExecutable
executionDependenciesThe upstream dependencies of this node.ExecutionDependency*Executable
executionDependantsThe downstream dependants of this node.ExecutionDependant*Executable
executionTagsTags in the code which affect its execution.ExecutionTag*Executable
executionCountA count of the number of times that the node has been executed.IntegerExecutable
executionRequiredWhether, and why, the code requires execution or re-execution.ExecutionRequiredExecutable
executionStatusStatus of the most recent, including any current, execution.ExecutionStatusExecutable
executionInstanceThe id of the kernel instance that performed the last execution.StringExecutable
executionEndedThe timestamp when the last execution ended.TimestampExecutable
executionDurationDuration of the last execution.DurationExecutable
executionMessagesMessages emitted while executing the node.ExecutionMessage*Executable
instructionTypeThe type of instruction describing the operation to be performed.InstructionTypeInstruction
promptThe prompt selected, rendered and provided to the modelPromptBlockInstruction
messageThe instruction message, possibly including images, audio, or other media.InstructionMessageInstruction
modelParametersModel selection and inference parameters.ModelParametersInstruction
activeSuggestionThe index of the suggestion that is currently activeUnsignedIntegerInstruction
contentThe content to which the instruction applies.Block*-
suggestionsSuggestions for the instructionSuggestionBlock*-

Related

The InstructionBlock type is related to these types:

Bindings

The InstructionBlock type is represented in:

Testing

During property-based (a.k.a generative) testing, the properties of the InstructionBlock type are generated using the following strategies.

PropertyComplexityDescriptionStrategy
contentMin+No contentNone
Low+Generate a single arbitrary, non-recursive, block nodeoption::of(vec_blocks_non_recursive(1))
High+Generate up to two arbitrary, non-recursive, block nodesoption::of(vec_blocks_non_recursive(2))
MaxGenerate up to four arbitrary, non-recursive, block nodesoption::of(vec_blocks_non_recursive(4))

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

© 2026 Stencila