Home

stencila prompts infer

Infer a prompt from a query

Useful for checking which prompt will be matched to a given instruction type, node types, and/or query

Usage

stencila prompts infer [OPTIONS] [QUERY]

Examples

# Infer prompt with a specific query
stencila prompts infer "Update this paragraph based on latest data"

# Infer for a specific instruction type
stencila prompts infer --instruction-type create "list of top regions"

Arguments

NameDescription
[QUERY]The query.

Options

NameDescription
-i, --instruction-typeThe instruction type.
-n, --node-typesThe node types.
© 2026 Stencila