Skip to content

Article

Spam and Auto-Reply Detection in There There

Freek Van der Herten describes replacing a fifteen-language subject-prefix list with Jev in There There's helpdesk: three questions in one call, header checks first, raw probabilities stored next to each thresholded verdict.
Format
Article
Reading time
3 min
Published by
Community
Author
Freek Van der Herten
Last verified
Oct 2026

Highlights

  • Jev support landed in the 1.x branch of the Laravel AI SDK a day before the post, and There There started using it for spam detection the same day.
  • Mail headers are checked first, and the subject-prefix lists Jev replaced covered fifteen languages plus nine bounce patterns.
  • An InboundJudgement enum carries each question with its threshold: IsAutoResponse 0.75, and IsBounce and IsSpam 0.9; true and false descriptions are optional.
  • All unsettled questions go out in one request with a 10-second timeout; the body is truncated with Str::limit(..., 10_000) and failures are logged and skipped.
  • Measured: three questions on one mail take 639 ms, about 48 per second in parallel, at $0.042 per million input tokens - roughly 36 cents a month.

Watch out

One team's production notes rather than a benchmark: the 639 ms and 48-per-second figures come from There There's own setup with no tuning, and the calibrated-probability claim is TypeSafe's. The $0.042 per million input tokens price and the cents-per-month estimate are specific to that workload.

Questions about this entry

Short answers drawn from the linked project or page.

Reactions & coverage

Posts, threads, and videos about this entry from around the web.

X: 1,565 emails, six decision models

X: Fifty emails in under two seconds

From the Jev guides

Original write-ups on what this entry is for.

From the Jev AI model community

Posts from builders shipping with Jev right now.

Follow @typesafeai