Bỏ qua đến nội dung chính
Back to home
Tech tools-ai 2 min read

Vercel Integrates Jev Classification Model into AI SDK for Python

Vercel has introduced an experimental evaluate() API for the Jev model in its AI SDK for Python, providing structured JSON outputs instead of free-form text generation.

Tier 2 · sources 99% confidence Reviewed
Sources vercel.com

Experimental Jev Integration in AI SDK for Python

On October 2, 2026, the Python development team at Vercel announced an update to the AI SDK for Python, officially introducing support for the Jev model via an experimental evaluate() API. Rather than generating free-form text like conventional large language models, Jev functions as a universal classifier that accepts input data alongside multiple-choice questions to return structured JSON outputs with corresponding confidence scores.

According to Vercel, developers can install the package using the uv tool via uv add ai and configure the AI_GATEWAY_API_KEY environment variable. The Jev programming interface is designed around the evaluate() function, which accepts state data formatted as strings or JSON along with three primary question types: - ChoiceQuestion: Selects a single option from a set of choices. - ScoreQuestion: Evaluates inputs along a defined rating scale. - NoulQuestion: Estimates the probability that a given proposition is true.

This architecture leverages pretrained large language model weights while directing the outputs into structured classification formats, effectively lowering latency and operational costs for scoped decision-making tasks.

Real-World Benchmarks and Evaluation

To assess Jev's practical performance, Vercel engineers conducted two benchmark experiments: - Python REPL Input Disambiguation: When tasked with distinguishing between Python code and natural English within a REPL environment, Jev outperformed custom-trained classification models. However, it still exhibited edge-case errors with incomplete expressions, such as misidentifying the incomplete string 'what\'s' + ' up as English. - AST-Based Code Generation: In the second experiment, Vercel paired GPT-5.6 for high-level planning with Jev to select individual Abstract Syntax Tree (AST) nodes to construct Python code. While the approach produced syntactically correct code, it frequently failed to implement the correct business logic.

The complete sample code for the AST experiment has been released by Vercel Labs on GitHub for independent community evaluation.