Steps — Prompts
Prompt-loading helpers for generation-style experiments.
LoadPrompts
Section titled “LoadPrompts”Load prompts directly into pipeline results.
Args:
prompts: PromptBatch instance, or a list of prompt strings to wrap.raw_prompts: Optional pre-template prompt strings, paired withpromptsby index. Only used whenpromptsis a list.source: Free-form provenance label written into the resulting- PromptBatch metadata. Only used when
promptsis a list.
__init__
Section titled “__init__”def __init__(self, prompts: PromptBatch | list[str], raw_prompts: list[str] | None = None, source: str = 'manual'):expected_write_types
Section titled “expected_write_types”def expected_write_types(self, results = None, available_types = None):