Skip to contents

Add prompt paraphrases

Usage

audit_add_prompts(plan, ...)

Arguments

plan

An audit_plan().

...

Named prompt templates (same placeholder rules as the baseline). Honest paraphrases ask the same question in different words; do not "improve" the prompt here – that is tuning, and it belongs in the coding tournament, before the audit.

Value

The plan, extended.

Examples

plan <- audit_plan(data.frame(text = c("a", "b")), "text",
  function(d) mean(d$label == "yes"), c("yes", "no"), "{text}")
audit_add_prompts(plan, concise = "Classify this text: {text}")