1 مستودع
Logic for including or excluding prompt elements based on runtime variables.
Distinct from Conditional Rendering: Distinct from UI conditional rendering; this applies to the final string generated for an LLM.
Explore 1 awesome GitHub repository matching web development · Conditional Prompt Rendering. Refine with filters or upvote what's useful.
Poml is a prompt management framework and templating engine designed for authoring, versioning, and rendering structured prompts for large language models. It uses a semantic markup language to organize prompts into reusable templates, combining them with dynamic context and data to generate formatted inputs. The system distinguishes itself by decoupling core prompt logic from final presentation through a stylesheet-based approach. It provides a dedicated JSON schema output generator to enforce strict, machine-parsable model responses and a configuration interface for managing function tool s
Shows or hides prompt elements based on the truth value of a variable or expression.