JevMade hello@JevMade.com
← Back to guides

JevMade field notes / TanStack AI tutorial

Moderate product reviews with Jev, TanStack AI, and AI Gateway

Builds a TanStack Start moderation route using TanStack AI’s decide() and Jev to classify a review’s topic, sentiment, promotion, and personal-data flags before code chooses publish or hold.

Original by Ben SabicIntegrationsVercel guideOriginal published Source reviewed

Before you dive in

What you’ll find in the original

  1. Validate review fields before sending state to a server-side evaluator.
  2. Test each hold condition and the exact threshold boundaries using fixed responses.
  3. Treat verified-purchase and account rules as separate backend checks, not model judgments.
Worth knowing

The sample response and thresholds are illustrative; labeled reviews are needed before publishing automatically.