Need an ai-chatbot npm package

https://github.com/vercel/ai-chatbot

In this repository,
Why not make the core components of chatbot to a pure React component, and publish it as an npm package?

This repository is next.js, the pure react project is hard to Implement it.
if make the core components to npm package, then react and next.js project all can use it.

1 Like

some body here? some body here?

@songispm I don’t think Vercel publishes many component packages; the things I’ve seen them publish are actual functionality and logic so that the UI is up to you.

Have you seen the Vercel AI SDK?

It makes it super easy to do AI stuff in Next.js and React. That’s what the repo you linked to uses for AI functionality.

2 Likes

@bestcodes ,Yes, I use AI SDK, but I need a Chat UI interace, save my time.

Since Vercel has already done the project AI-chatbot, I think they can easily do this.

I can’t think of a reason why not to do it; the cost is not high for Vercel.

That’s the point of the AI templates, they show you how to easily use the AI SDK to make chatbots.

1 Like