Skip to contents

Return the strict JSON system prompt used by LLM translator backends

Usage

spec_system_prompt(mode = c("create", "refine"))

Arguments

mode

One of "create" (new spec from prompt) or "refine" (modify existing spec).

Value

Character scalar system prompt.

Examples

substr(spec_system_prompt("create"), 1, 120)
#> [1] "You are a neuro-symbolic statistical specification compiler for the R package specshiny.\nTranslate the user's statistica"