PomBuilder
PomBuilder provides a fluent interface for creating structured prompts using the Prompt Object Model (POM). POM organizes prompt content into titled sections, subsections, and bullet lists — producing consistent, well-structured prompts that the AI can follow reliably.
Use PomBuilder when you need fine-grained control over prompt structure beyond
what set_prompt_text() and prompt_add_section() on
AgentBase provide. The builder
can render to Markdown or XML format.
PomBuilder requires the signalwire-pom package. Install it with:
pip install signalwire-pom