Rules
The prompt detail page has a Rules tab, labeled with a badge showing how many rules are already linked. Linking a rule to a prompt means that when the rule matches at evaluation time, the prompt is returned as one of the rule’s linked resources.
Linking a rule
Section titled “Linking a rule”You can link a rule to the current prompt two ways:
- New Rule - opens a dialog to create a brand-new rule that’s automatically linked to this prompt.
- Link existing rule - a toggle that opens a dropdown of rules not yet linked to this prompt (or “All rules already linked” if there are none left to add), plus an Associate button to confirm the link.
Each linked rule is listed with its name, description, and status. Clicking a linked rule opens that rule’s own detail page. If nothing is linked yet, the tab shows “No rules linked yet.”
Learn more about the Rule Engine
Section titled “Learn more about the Rule Engine”Rules themselves - conditions, matching logic, and what else can be linked besides prompts - are covered in the Rule Engine docs:
How rules, conditions, and matching work
Linked EntitiesEverything a rule can return when it matches, prompts included
Manage Prompts
Back to the prompt list, create, and detail pages