-
Notifications
You must be signed in to change notification settings - Fork 64
Closed
Labels
Description
Parent PRD
What to build
Update all documentation to reflect the v6 migration and add a minor version changeset.
Documentation changes
apps/evalite-docs/src/content/docs/api/ai-sdk.mdx:
- Update
wrapAISDKModel()type signature:LanguageModelV2→LanguageModel - Replace
generateObject/streamObjectexamples withgenerateText/streamText+Output.object()pattern - Ensure all code examples use v6 imports and APIs
apps/evalite-docs/src/content/docs/tips/vercel-ai-sdk.mdx:
- Review for any v5-specific references (type names, deprecated functions)
- Update
generateObjectexamples togenerateText+Output.object()pattern - Ensure integration guide reflects v6 conventions
Changeset
Add a minor version changeset for the evalite package documenting the AI SDK v6 migration. Users on AI SDK v5 should stay on the previous Evalite version.
Acceptance criteria
-
api/ai-sdk.mdxshowsLanguageModel(notLanguageModelV2) in type signatures -
api/ai-sdk.mdxexamples usegenerateText+Output.object()instead ofgenerateObject -
tips/vercel-ai-sdk.mdxreviewed and updated for v6 (nogenerateObject/streamObjectreferences) - Changeset file added with minor bump for
evalitepackage - Documentation builds without errors
Blocked by
User stories addressed
- User story 7:
wrapAISDKModel()API reference shows correct v6 type signature - User story 8: "Works With All AI SDK Methods" docs show
generateText+Output.object()pattern
Reactions are currently unavailable