-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
base: v5
Are you sure you want to change the base?
Conversation
## 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 |
There was a problem hiding this comment.
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: |
There was a problem hiding this comment.
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"> |
There was a problem hiding this comment.
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. |
There was a problem hiding this comment.
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
Summary
Adds v5 alpha announcement page to v5 branch.
Tasks
pnpm prettier-fix
in the project root)Future Work
add updates from #6526