Skip to contents

Get a Role-specific System Prompt

Usage

get_role_prompt(name)

Arguments

name

String. Role identifier.

Value

String prompt text.

Examples

if (FALSE) { # \dontrun{
# Convenience helper to get role prompts from the Logic Registry
register_role("assistant", "You are a helpful assistant.")
p <- get_role_prompt("assistant")
} # }