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§
- Build
Prompt Options - 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.