Skip to content

Uzair-akrum/FireChat

Repository files navigation

This is a modified version of Vercel AI Chatbot with some key differences:

  • Uses Google's Gemini 2.0 Flash model instead of OpenAI
  • Integrates with Supabase for Reddit posts data
  • Includes knowledge chunk search functionality with vector embeddings
Next.js 14 and App Router-ready AI chatbot.

A modified AI Chatbot built with Next.js, Google's Gemini, and Supabase integration.

Features · Running locally


Features

  • Next.js App Router
    • Advanced routing for seamless navigation and performance
    • React Server Components (RSCs) and Server Actions
  • Google Generative AI
    • Gemini 2.0 Flash model for fast and accurate responses
    • Built-in tool calling capabilities for weather information
  • Supabase Integration
    • Reddit posts data storage and retrieval
    • Vector embeddings for knowledge search
  • shadcn/ui

Running locally

  1. Clone the repository

  2. Create a .env.local file with the following variables:

    GEMINI_API_KEY=your_gemini_api_key
    SUPABASE_URL=your_supabase_url
    SUPABASE_KEY=your_supabase_key
    
  3. Install dependencies and run the development server:

# Install dependencies
bun install

# Start the development server
bun dev

Your app should now be running on localhost:3000.

Environment Variables

  • GEMINI_API_KEY: Your Google Gemini API key
  • SUPABASE_URL: Your Supabase project URL
  • SUPABASE_KEY: Your Supabase project API key

About

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages