Skip to content

docs (v5): Add v5 alpha announcement page #6527

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: v5
Choose a base branch
from

Conversation

nicoalbanese
Copy link
Contributor

Summary

Adds v5 alpha announcement page to v5 branch.

Tasks

  • Formatting issues have been fixed (run pnpm prettier-fix in the project root)

Future Work

add updates from #6526

## Summary

Announce v5 Alpha

## Tasks
- [x] Formatting issues have been fixed (run `pnpm prettier-fix` in the
project root)

<Note>
This separation is essential as you cannot use a single message format for
both purposes. The state you save should always be the UIMessage format to
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

backticks around UIMessage and ModelMessage here


## LanguageModelV2

LanguageModelV2 represents a complete redesign of how the AI SDK communicates with language models, adapting to the increasingly complex outputs modern AI systems generate. The new LanguageModelV2 treats all LLM outputs as content parts, enabling more consistent handling of text, images, reasoning, sources, and other response types. It now has:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

backticks around LMV2 here and elsewhere in PR


# Announcing AI SDK 5 Alpha

<Note type="warning">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps we should put a date on this so folks landing on it now have some sense of when we started the early preview


## ChatStore

AI SDK 5 introduces a new `useChat` architecture with ChatStore and ChatTransport components. These two core building blocks make state management and API integration more flexible, allowing you to compose reactive UI bindings, share chat state across multiple instances, and swap out your backend protocol without rewriting application logic.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

backticks on ChatStore and ChatTransport, and one more line 293

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants