Module prompt

Module prompt 

Source
Expand description

Prompt construction for Ralph iterations. Prompt construction for Ralph loop iterations.

The Ralph loop assembles a single prompt string that includes optional Ito context (change proposal + module), the user’s base prompt, and a fixed preamble describing the iteration rules.

Structs§

BuildPromptOptions
Options that control which context is embedded into a Ralph prompt.

Functions§

build_prompt_preamble
Build the standard Ralph preamble for a given iteration.
build_ralph_prompt
Build a full Ralph prompt with optional change/module context.