Sanitize or Fail: Two Ways to Handle Rule Violations in LLM Output
An em dash in generated text has one correct fix. Swap it for a comma, swap it for a period, or recast the sentence. The first two are a string replacement. You do not need a second model call to do i
Sep 30, 20267 min read
