A developer is utilizing Vercel's AI Chatbot template and seeks to integrate a custom language model hosted at a remote URL. They are uncertain whether implementing a customProvider is the appropriate approach for this integration, as outlined in Vercel's documentation on writing a custom provider. Despite creating a basic frontend proof of concept that successfully streams responses from the custom model, they are encountering difficulties aligning this functionality with the existing structure of the Vercel AI SDK's backend code. The developer is requesting guidance on the correct method to incorporate their custom model into the AI Chatbot framework.
603d ago