evaluate( )





Pattern
Jev + Web Context
Exa finds live evidence, Jev answers the same question with and without it, and leave-one-out weights show what each source changed.
IntermediateSep 2026View the full pattern on desktop


Problems solved
- Ground a typed Jev decision on live web evidence
- Show what changes when search_results are empty
- Attribute answer confidence to individual sources
Use cases
- Web-grounded yes/no decisions with typed criteria
- Comparing prior knowledge against live retrieval
- Teaching leave-one-out source attribution without a chat UI
AI SDK APIs
experimental_evaluate
Tags
jevevaluationtyped-decisionschoiceexaweb-searchai-sdk
Requirements
- Node.js
- 24+
- Memory
- 512MB
- Other
- Exa API key
- Vercel AI Gateway API key
External services
exavercel-ai-gatewayupstash
Ready to use?
View the full interactive pattern with live preview and copy the source code.
View the pattern on desktopRelated patterns


Jev Best-of-N Judge
Three prepared replies sit on the table. A Jev choice lifts the winner only when its probability clears 0.70.
jevevaluation+4
View pattern →


Jev Confidence Router
Four trays are on the table. A message flies to a team only when confidence and the selected probability both clear their floors.
jevevaluation+5
View pattern →



