Vercel

AI SDK 3.4

Sep 20, 2024
AI SDK 3.4
SummaryAI, from the source post

AI SDK 3.4 introduces language model middleware for RAG and caching, a data stream protocol to decouple AI SDK UI from AI SDK Core (enabling Python backends), new structured output modes (array and enum) for `generateObject` and `streamObject` functions, and multi-step calls for agentic workflows. It also includes tracing improvements and mock models for testing.

More from the AI Gateway and AI SDK Integration trail