Skip to content
← Back to Changelog

Wednesday, April 10th 2024

Gemini AI Chatbot with Generative UI support

Posted by

Avatar for jared

Jared Palmer

VP of Product, AI

Avatar for shuding

Shu Ding

Software Engineer

Avatar for shadcn

Shadcn

Software Engineer

Avatar for jrmy

Jeremy Philemon

Software Engineer

Avatar for mleiter

Max Leiter

Software Engineer

The Gemini AI Chatbot template is a streaming-enabled, Generative UI starter application. It's built with the Vercel AI SDK, Next.js App Router, and React Server Components & Server Actions.

This template features persistent chat history, rate limiting to prevent abuse, session storage, user authentication, and more.

The Gemini model used is models/gemini-1.0-pro-001, however, the Vercel AI SDK enables exploring an LLM provider (like OpenAI, Anthropic, Cohere, Hugging Face, or using LangChain) with just a few lines of code.

Try the demo or deploy your own.

Post