Skip to contents

The user turns of a run's training or held-out rows, for feeding dragon_synthesize_pairs() or dragon_judge(). Works for prompt/response and preference-pair runs alike.

Usage

dragon_prompts(run, split = c("eval", "train"), n = Inf, seed = 42)

Arguments

run

A dragon_run or run directory.

split

"eval" for the held-out rows, "train" for the rest.

n

Maximum number of prompts. Inf for all.

seed

Seed used when sampling down to n.

Value

A character vector.