evaluate( )

Pattern

Jev Email Tags

Tag a closed inbox with one Jev boolean per tag. A stamp lands only when its probability clears a floor.

BeginnerSep 2026View the full pattern on desktop
Jev Email Tags preview

Problems solved

  • Tag a closed inbox with one boolean per tag
  • Keep the tag floor in application code
  • Leave untagged mail unmarked instead of inventing labels

Use cases

  • Multi-label tags on a known inbox
  • Stamping mail without a classifier prompt
  • Teaching Jev boolean probabilities across many items

AI SDK APIs

experimental_evaluate

Tags

jevevaluationtyped-decisionsbooleanemailai-sdk

Requirements

Node.js
24+
Memory
256MB
Other
  • Vercel AI Gateway API key

Environment variables

External services

vercel-ai-gatewayupstash

Ready to use?

View the full interactive pattern with live preview and copy the source code.

View the pattern on desktop

Related patterns