• Sources: primary
  • Summary: Dan Vega builds a moderation endpoint on Spring Boot 4.2.0 and Spring AI 2.1.0 with the System 1 decision model starter, asking a YesNoQuestion for spam, a ChoiceQuestion for topic and a ScoreQuestion for tone in one call. Comments are rejected above 0.9 spam probability, held above 0.5 or when rude, and held for a person when the model refuses. In his tests a self-promoting link scored 0.84 and was held, while clear crypto spam scored 0.97 and was rejected.
  • Why it matters: Spring developers can move classification and guardrail checks off a chat model onto a typed, provider-neutral decision API with explicit confidence thresholds.