evaluate( )

Pattern

Jev Search Filter

Filter a closed catalog with one Jev boolean per item. Matches rise out of the pile when their probability clears a floor.

BeginnerSep 2026View the full pattern on desktop
Jev Search Filter preview

Problems solved

  • Filter a closed catalog with one boolean per item
  • Keep the match floor in application code
  • Leave non-matches in place instead of inventing results

Use cases

  • Semantic filters over a known catalog
  • Emoji or icon search without embeddings
  • Teaching Jev boolean probabilities across many items

AI SDK APIs

experimental_evaluate

Tags

jevevaluationtyped-decisionsbooleansearchai-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