Examples

RSC Example

This is an example of how to use the Vercel AI SDK RSC Runtime.

eCommerce Example

This is an example of an eCommerce chatbot that can help users find products. Built with Vercel AI SDK RSC Runtime.

Inline Suggestions Example

This is an example of how to use inline suggestions.

React Hook Form Example

This is an example of how to use @assistant-ui/react-hook-form.

Custom REST API Example

This is an example of how to use @assistant-ui/react with a custom REST API.

Thread History Persistence example

This is an example of how to restore the thread history using @assistant-ui/react-ai-sdk and Vercel AI SDK.