https://github.com/ajay-dhangar/gemini-ai-chatbot
Gemini AI Chabot
https://github.com/ajay-dhangar/gemini-ai-chatbot
ai chatbot gemini gemini-ai-chatbot gemini-api
Last synced: 2 months ago
JSON representation
Gemini AI Chabot
- Host: GitHub
- URL: https://github.com/ajay-dhangar/gemini-ai-chatbot
- Owner: ajay-dhangar
- License: apache-2.0
- Created: 2024-04-16T04:39:28.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-18T08:30:10.000Z (about 1 year ago)
- Last Synced: 2024-12-06T22:52:14.430Z (11 months ago)
- Topics: ai, chatbot, gemini, gemini-ai-chatbot, gemini-api
- Language: TypeScript
- Homepage: https://code-harbor-hub-gemini-ai-chatbot.vercel.app/
- Size: 8.98 MB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
An open-source AI chatbot app template built with Next.js, the Vercel AI SDK, Google Gemini, and Vercel KV.
## Features
- [Next.js](https://nextjs.org) App Router
- React Server Components (RSCs), Suspense, and Server Actions
- [Vercel AI SDK](https://sdk.vercel.ai/docs) for streaming chat UI
- Support for Google Gemini (default), OpenAI, Anthropic, Cohere, Hugging Face, or custom AI chat models and/or LangChain
- [shadcn/ui](https://ui.shadcn.com)
- Styling with [Tailwind CSS](https://tailwindcss.com)
- [Radix UI](https://radix-ui.com) for headless component primitives
- Icons from [Phosphor Icons](https://phosphoricons.com)
- Chat History, rate limiting, and session storage with [Vercel KV](https://vercel.com/storage/kv)
- [NextAuth.js## Running locally
You will need to use the environment variables [defined in `.env.example`](.env.example) to run Next.js AI Chatbot. It's recommended you use [Vercel Environment Variables](https://vercel.com/docs/projects/environment-variables) for this, but a `.env` file is all that is necessary.
> Note: You should not commit your `.env` file or it will expose secrets that will allow others to control access to your various Google Cloud and authentication provider accounts.
```bash
pnpm install
pnpm dev
```Your app template should now be running on [localhost:3000](http://localhost:3000/).