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
Jev + Web Context preview

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

Environment variables

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 desktop

Related patterns