117 lines
3.4 KiB
Markdown
117 lines
3.4 KiB
Markdown
# AI SDK UI - Official Documentation Links
|
|
|
|
Organized links to official AI SDK UI and React hooks documentation.
|
|
|
|
**Last Updated**: 2025-10-22
|
|
|
|
---
|
|
|
|
## AI SDK UI Documentation
|
|
|
|
### Core Hooks
|
|
|
|
- **AI SDK UI Overview:** https://ai-sdk.dev/docs/ai-sdk-ui/overview
|
|
- **useChat:** https://ai-sdk.dev/docs/ai-sdk-ui/chatbot
|
|
- **useCompletion:** https://ai-sdk.dev/docs/ai-sdk-ui/completion
|
|
- **useObject:** https://ai-sdk.dev/docs/ai-sdk-ui/object-generation
|
|
|
|
### Advanced Topics (Not Replicated in This Skill)
|
|
|
|
- **Generative UI (RSC):** https://ai-sdk.dev/docs/ai-sdk-rsc/overview
|
|
- **Stream Protocols:** https://ai-sdk.dev/docs/ai-sdk-ui/stream-protocols
|
|
- **Message Metadata:** https://ai-sdk.dev/docs/ai-sdk-ui/message-metadata
|
|
- **Custom Transports:** https://ai-sdk.dev/docs/ai-sdk-ui/transports
|
|
|
|
---
|
|
|
|
## Next.js Integration
|
|
|
|
- **Next.js App Router:** https://ai-sdk.dev/docs/getting-started/nextjs-app-router
|
|
- **Next.js Pages Router:** https://ai-sdk.dev/docs/getting-started/nextjs-pages-router
|
|
- **Next.js Documentation:** https://nextjs.org/docs
|
|
|
|
---
|
|
|
|
## Migration & Troubleshooting
|
|
|
|
- **v4 → v5 Migration Guide:** https://ai-sdk.dev/docs/migration-guides/migration-guide-5-0
|
|
- **Troubleshooting Guide:** https://ai-sdk.dev/docs/troubleshooting
|
|
- **Common Issues:** https://ai-sdk.dev/docs/troubleshooting/common-issues
|
|
- **All Error Types (28 total):** https://ai-sdk.dev/docs/reference/ai-sdk-errors
|
|
|
|
---
|
|
|
|
## API Reference
|
|
|
|
- **useChat API:** https://ai-sdk.dev/docs/reference/ai-sdk-ui/use-chat
|
|
- **useCompletion API:** https://ai-sdk.dev/docs/reference/ai-sdk-ui/use-completion
|
|
- **useObject API:** https://ai-sdk.dev/docs/reference/ai-sdk-ui/use-object
|
|
|
|
---
|
|
|
|
## Vercel Deployment
|
|
|
|
- **Vercel Functions:** https://vercel.com/docs/functions
|
|
- **Streaming on Vercel:** https://vercel.com/docs/functions/streaming
|
|
- **Environment Variables:** https://vercel.com/docs/projects/environment-variables
|
|
- **AI SDK 5.0 Release:** https://vercel.com/blog/ai-sdk-5
|
|
|
|
---
|
|
|
|
## GitHub & Community
|
|
|
|
- **GitHub Repository:** https://github.com/vercel/ai
|
|
- **GitHub Issues:** https://github.com/vercel/ai/issues
|
|
- **GitHub Discussions:** https://github.com/vercel/ai/discussions
|
|
- **Discord Community:** https://discord.gg/vercel
|
|
|
|
---
|
|
|
|
## TypeScript & React
|
|
|
|
- **TypeScript Handbook:** https://www.typescriptlang.org/docs/
|
|
- **React Documentation:** https://react.dev
|
|
|
|
---
|
|
|
|
## Complementary Skills
|
|
|
|
For complete AI SDK coverage, also see:
|
|
|
|
- **ai-sdk-core skill:** Backend text generation, structured output, tools, agents
|
|
- **cloudflare-workers-ai skill:** Native Cloudflare Workers AI binding (no multi-provider)
|
|
|
|
---
|
|
|
|
## Quick Navigation
|
|
|
|
### I want to...
|
|
|
|
**Build a chat interface:**
|
|
- Docs: https://ai-sdk.dev/docs/ai-sdk-ui/chatbot
|
|
- Template: `templates/use-chat-basic.tsx`
|
|
|
|
**Stream text completions:**
|
|
- Docs: https://ai-sdk.dev/docs/ai-sdk-ui/completion
|
|
- Template: `templates/use-completion-basic.tsx`
|
|
|
|
**Generate structured output:**
|
|
- Docs: https://ai-sdk.dev/docs/ai-sdk-ui/object-generation
|
|
- Template: `templates/use-object-streaming.tsx`
|
|
|
|
**Migrate from v4:**
|
|
- Docs: https://ai-sdk.dev/docs/migration-guides/migration-guide-5-0
|
|
- Reference: `references/use-chat-migration.md`
|
|
|
|
**Fix a UI error:**
|
|
- Reference: `references/top-ui-errors.md`
|
|
- Docs: https://ai-sdk.dev/docs/reference/ai-sdk-errors
|
|
|
|
**Deploy to production:**
|
|
- Reference: `references/nextjs-integration.md`
|
|
- Docs: https://vercel.com/docs/functions/streaming
|
|
|
|
---
|
|
|
|
**Last Updated**: 2025-10-22
|