Integrations
Vercel AI SDK
RAGChat can be easily integrated with the Vercel AI SDK. See our example project for a more complete view.
If you want to use RAGChat & Vercel AI SDK in your project, first set up your route handler:
Second, use the useChat
hook in your frontend component:
Using ai-sdk
models in RAG Chat
If you’re already using the ai-sdk library and want to incorporate its models into RAG Chat, you can easily do so with minimal configuration changes. This integration allows you to maintain your existing AI setup while benefiting from RAG Chat’s advanced features.