﻿# AI SDK extraction models: registry selection must preserve missing-value meaning

How ai@7.0.174 extraction registries and centralized normalization should preserve model selection, missing values and permitted false-like data across providers.

Author: Retrivium editorial team
Updated: 2026-11-18
Canonical URL: https://retrivium.ai/journal/daily-20261118-agent-aisdk-extraction-provider-missing-values/
Language: en

## Model selection and value normalization change together

AI SDK ai@7.0.174 was published on 17 November 2026 at 18:39:35 UTC. The release adds extraction-model support to registries, custom providers and string model identifiers, while centralizing empty-value normalization in experimental_extract. This article is published on 18 November. These delivered changes concern dispatch and result interpretation. They do not establish a measured increase in extraction accuracy or make every provider return the same raw representation before the shared handling runs.

## Keep the selected capability explicit

A familiar provider name or model string does not by itself prove that an extraction call reaches the intended capability. An acceptance record should connect the registry entry, resolved model and operation being requested. Custom-provider configuration deserves the same treatment as the built-in path. Otherwise a successful call through one object can hide a different registry selection in another application process. The useful observation is the selected extraction implementation, rather than the mere presence of a provider package in the dependency tree.

## Missing values need an application meaning

An extraction consumer often cares whether information was absent, unreadable or present with a legitimate empty-looking value. Those distinctions should come from the declared contract, not from a broad truthiness check. Where the output schema permits them, zero, false and an empty string can be meaningful data. Treating all of them as absence can erase the very result a later business rule needs. Conversely, turning unavailable data into a default value can make a record appear more complete than the evidence supports.

## Compare providers at the normalized boundary

A proposed fixture can present controlled documents with an existing field, an absent field and a supported false-like field value. Feed equivalent raw provider responses through the selected extraction paths and inspect the normalized result delivered to application code. Keep any error state separate. The comparison should test the shared behavior claimed by the update without assuming identical raw payloads. It also needs to pass through the real application wrapper, where another conversion may otherwise reintroduce the difference.

## Pin the registry and the consumer during an upgrade

Retain provider versions, registry configuration, schema and normalization expectations together. Replacing a registry mapping while leaving an old consumer assumption unchanged creates a different integration from upgrading both deliberately. Retrivium has not executed the proposed extraction tests. Their intended outcome is a precise selection and missing-value contract for bounded fixtures. That would not certify every document, remove uncertainty from model output or authorize a downstream action merely because a parsed value exists. Reliability still depends on how the application interprets evidence and decides when an incomplete result needs another check.

## Sources

- [Primary source 1](https://github.com/vercel/ai/releases/tag/ai%407.0.174)
- [Primary source 2](https://github.com/vercel/ai/commit/10ff0b1)
- [Primary source 3](https://github.com/vercel/ai/commit/d99098a)

## Related reading

- [Reparse structured results](/journal/guide-openhands-structured-output-reparse/)
- [Controlled evaluation fixtures](/journal/inference-benchmark-method/)
