Skip to main content

Request

Response

Writing tags

  • Write instructions as the rule for when a tag applies. Sage judges all tags together, against each other.
  • Give each tag a name: a short label plus one line, like "promotion: advertises the poster's own product or service". Sage reads the name; id is the key you get back.
  • When two tags are easy to confuse, say what doesn’t count: “a single genuine offer is not spam”.
  • With no instructions, Sage asks which tags apply. Braces need no escaping; a {label} or {tag} placeholder still works.

Patterns

  • applies: null means Sage isn’t sure whether that tag applies. Don’t read it as false: send the item to a person, or skip the action that depends on that tag.
  • If the answer could be “none”, ask a Yes/No first (“Does this post break any rule?”) and read tags only on yes.
threshold is deprecated and ignored. For a stricter bar, compare probability yourself.