A Next.js chatbot powered by the AI SDK and real-world search results across providers like Google, Perplexity, and OpenAI.
Features · Deploy Your Own · Running Locally · Authors
- Uses (OpenAI, Google, and Perplexity) with a unified interface powered by the AI SDK by Vercel.
- Responses grounded in real-time web search results across all providers, showcasing sources support in the AI SDK.
- Consistent streaming text experience regardless of the underlying AI model being used.
- shadcn/ui components for a modern, responsive UI powered by Tailwind CSS.
- Built with the latest Next.js App Router.
You can deploy your own version to Vercel by clicking the button below:
-
Clone the repository and install dependencies:
npm install # or yarn install # or pnpm install -
Install the Vercel CLI:
npm i -g vercel # or yarn global add vercel # or pnpm install -g vercelOnce installed, link your local project to your Vercel project:
vercel linkAfter linking, pull your environment variables:
vercel env pullThis will create a
.env.localfile with all the necessary environment variables. -
Run the development server:
npm run dev # or yarn dev # or pnpm dev -
Open http://localhost:3000 to view your new AI chatbot application.
This repository is maintained by the Vercel team and community contributors.
Contributions are welcome! Feel free to open issues or submit pull requests to enhance functionality or fix bugs.