Skip to content

mo-jasim/Generative-Ai-Chat-Assistant

Repository files navigation

Generative AI Chat Assistant

A Next.js-powered AI chat assistant with web search capabilities, powered by Google Gemini and Tavily search.

Features

  • 💬 Interactive chat interface with Google Gemini
  • 🔍 Real-time web search integration via Tavily
  • 🎨 Beautiful UI with animated components
  • 📱 Responsive design for all devices
  • 🔄 Conversation threading and persistence
  • ⚡ Built with Next.js 15 and Turbopack

Getting Started

  1. Clone the repository:
git clone https://github.com/mo-jasim/Generative-Ai-Chat-Assistant.git
cd Generative-Ai-Chat-Assistant
  1. Install dependencies:
pnpm install
  1. Set up environment variables: Create a .env.local file with:
GEMINI_API_KEY=your_gemini_api_key
TAVILY_API_KEY=your_tavily_api_key
GEMINI_MODEL=gemini-2.0-flash
  1. Run the development server:
pnpm dev

Open http://localhost:3000 to see the application.

Create your API Keys:

Tech Stack

  • Framework: Next.js 15 with Turbopack
  • AI Model: Google Gemini via OpenAI-compatible API
  • Search: Tavily API for real-time web search
  • Styling: Tailwind CSS with custom animations
  • Package Manager: pnpm
  • Deployment: Vercel-ready

Developed by

Mo~Jasim


Want to build a similar AI chat system for your company?

Feel free to contact me to discuss your requirements and get started!

Releases

No releases published

Packages

No packages published