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.
BeginnerView the full pattern on desktop


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
AI_GATEWAY_API_KEYGet key
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






