evaluate( )





Pattern
Jev Infinite FAQ
A FAQ whose last row is a live ask field. Jev opens a canned answer when it matches, or a short grounded answer becomes another row.
BeginnerSep 2026View the full pattern on desktop


Problems solved
- Open a canned FAQ answer from free-form wording
- Append a grounded answer as another FAQ row
- Refuse when the passages cannot answer
Use cases
- FAQ that accepts any wording
- Growing the accordion with live answers
- Teaching Jev match then grounded generateText
AI SDK APIs
experimental_evaluategenerateText
Tags
jevevaluationtyped-decisionschoicefaqai-sdkgenerateText
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 desktopRelated patterns


Jev Sub-agent Delegation
Pick one specialist with a Jev choice, then run only that agent when confidence and selected probability both clear their floors.
jevevaluation+4
View pattern →


Jev Output Verifier
Write an answer, then show it only if Jev is at least 90% sure it actually answers the question. If not, rewrite once.
jevevaluation+4
View pattern →



