Skip to content

Rainiver/airbnb-ai-booking-platform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

52 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🏠 AI-Powered Travel Booking Platform

CI Vercel

Full-stack intelligent travel booking system with RAG + Multi-Agent AI, featuring natural language search, dynamic pricing, and smart booking assistance.


πŸ“· Demo

Property Browsing, Search & Favorites

Property Features Demo

Core Features:

  • 🏠 Property Browsing - Responsive grid layout
  • πŸ” Smart Search - Multi-criteria filtering (location, dates, guests)
  • ❀️ Favorites - One-click save to favorites
  • πŸ“‹ Listing Details - Complete info display & instant booking

πŸ€– AI Assistant (Multi-Agent System)

AI Agent Assistant

AI Capabilities:

  • πŸ” Semantic Search - Natural language understanding with 768-dim vector retrieval
  • πŸ“… Date Parsing - NLP-based time recognition & availability detection
  • πŸ’° Price Prediction - 5-factor dynamic pricing model
  • 🎯 Smart Booking - AI-assisted complete booking workflow
  • 🧠 Context Memory - Multi-turn dialogue with intelligent reasoning
  • πŸ‘₯ Multi-Agent Collaboration - Search Agent + Recommend Agent + Booking Agent
  • 🎨 3D Animation UI - Apple Siri-style animation effects

✨ Key Features

  • 🎨 Modern UI Design - Glassmorphism style with 3D animation effects
  • πŸ€– RAG Retrieval - 768-dim vector semantic search with Supabase pgvector
  • πŸ‘₯ Multi-Agent System - Collaborative Search, Recommend & Booking agents
  • πŸ’° Dynamic Pricing Engine - 5-factor model: season/weekend/advance/last-minute/holiday
  • 🧠 Conversation Memory - Context-aware multi-turn intelligent reasoning
  • 🎯 Intent Recognition - Google Gemini Pro natural language processing

πŸ› οΈ Tech Stack

Frontend: Next.js 13 (App Router) Β· TypeScript Β· Tailwind CSS Β· Canvas 2D API

Backend: Next.js API Routes Β· Prisma ORM Β· MongoDB Atlas Β· NextAuth.js

AI/ML: Google Gemini Pro (NLP) Β· Gemini Embeddings (768-dim) Β· Supabase Vector (pgvector) Β· RAG Pipeline

Deployment: Vercel (Frontend + API) Β· MongoDB Atlas (Database) Β· Supabase (Vector DB)


πŸš€ Quick Start

# 1. Clone the repository
git clone https://github.com/Rainiver/airbnb-ai-booking-platform.git
cd airbnb-ai-booking-platform

# 2. Install dependencies
npm install

# 3. Configure environment variables (.env.local)
DATABASE_URL="mongodb+srv://..."                    # MongoDB connection
NEXTAUTH_SECRET="your-secret"                       # Auth secret
NEXTAUTH_URL="http://localhost:3000"                # App URL
GEMINI_API_KEY="your-gemini-key"                    # Google Gemini API key
NEXT_PUBLIC_SUPABASE_URL="your-supabase-url"        # Supabase URL
NEXT_PUBLIC_SUPABASE_ANON_KEY="your-supabase-key"   # Supabase anon key

# 4. Initialize database
npx prisma generate
npx prisma db push

# 5. Start development server
npm run dev

Visit http://localhost:3000 to view the app


πŸ—οΈ Architecture

User Query β†’ Intent Parsing (Gemini Pro) β†’ Agent Orchestration
                        ↓
    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
    β”‚ Search Agent β”‚ Recommend    β”‚ Booking      β”‚
    β”‚              β”‚ Agent        β”‚ Agent        β”‚
    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                        ↓
    Vector Retrieval + MongoDB β†’ LLM Response Generation

Workflow: Intent Recognition β†’ Vector Semantic Search (768-dim) β†’ Multi-factor Ranking β†’ Availability Check β†’ Price Prediction β†’ Contextual Response Generation


πŸ“Š Performance

  • ⚑ Response Time: 1-3s (cached <1s)
  • 🎯 Accuracy: Semantic search >90%, Context understanding >95%
  • πŸ“¦ Data Scale: 75 properties Γ— 768-dim vector embeddings
  • 🎨 Animation: 60fps Canvas rendering
  • πŸ’° Cost: $0/month (free tier deployment)

πŸš€ Deployment

# Deploy to Vercel
npm i -g vercel
vercel --prod

Required Environment Variables: DATABASE_URL Β· NEXTAUTH_SECRET Β· NEXTAUTH_URL Β· GEMINI_API_KEY Β· NEXT_PUBLIC_SUPABASE_URL Β· NEXT_PUBLIC_SUPABASE_ANON_KEY

See AI Setup Guide for detailed configuration


🎯 Highlights

  • ✨ True AI Integration - Not just a chatbot, but a Multi-Agent collaborative system
  • 🧠 Context-Aware - Conversation memory, no need to repeat information
  • πŸ’‘ Price Intelligence - Predicts best booking time to help users save money
  • 🎨 Beautiful UI - Apple-quality design with smooth animations
  • πŸš€ Production Ready - Deployed and fully functional

πŸ“– Documentation


πŸ”— Links


πŸ‘¨β€πŸ’» Contributing

Issues and Pull Requests are welcome!

About

Full-stack AI booking platform with RAG retrieval, Multi-Agent collaboration & smart pricing engine

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published