Skip to content

kalviumcommunity/Ai_Travel_planner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

28 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿงณ TravelGenie โ€” Your AI-Powered Travel Planner TravelGenie is your intelligent, all-in-one travel companion designed to help you explore the world with ease. Whether youโ€™re planning a weekend getaway, a multi-city adventure, or a family vacation โ€” TravelGenie has your journey covered, powered by cutting-edge AI.

๐ŸŒ What Can TravelGenie Do? โœˆ๏ธ Custom Itinerary Builder โ€” Create personalized, day-by-day travel plans based on your interests, budget, and time. ๐Ÿจ Hotel & Flight Suggestions โ€” Find and compare the best accommodations and flights in real-time. ๐Ÿฝ๏ธ Local Food & Culture Guide โ€” Discover hidden gems, top restaurants, and must-try local experiences. ๐Ÿ—บ๏ธ Navigation & Transport Tips โ€” Get optimal routes, public transport suggestions, and ride-share estimates. ๐Ÿ“… Weather & Seasonal Insights โ€” Plan around the best seasons and get live weather updates for your trip.

๐Ÿง  How It Works (Under the Hood) ๐Ÿ” System Prompt vs. User Prompt

  • System Prompt: Guides the AIโ€™s behavior โ€” โ€œYou are a professional travel planner helping users design the perfect trip.โ€
  • User Prompt: Comes from the user โ€” e.g., โ€œPlan a 5-day trip to Japan focused on culture and food, budget โ‚น80,000.โ€

๐ŸŽ› Tuning Parameters

  • Temperature: 0.5โ€“0.7 for a balance between creativity and accuracy.
  • Top-p: To control randomness and keep plans focused on user preferences.
  • Max tokens: Adjusted for detailed itineraries.

๐Ÿ“ Structured Output TravelGenie delivers clean, formatted outputs in:

  • JSON (for backend/API integration)
  • Markdown (for UI display)
  • Printable PDF itineraries

๐Ÿ›  Function Calling (For Developers) TravelGenie uses structured function calls to:

  • Fetch live flight & hotel prices from APIs.
  • Pull restaurant recommendations from food review databases.
  • Generate optimized route maps with travel time estimates.

๐Ÿ“š Retrieval-Augmented Generation (RAG) To keep recommendations current and reliable:

  • TravelGenie uses RAG to pull live data from curated travel blogs, booking sites, weather APIs, and cultural guides.
  • Ensures your itinerary reflects the latest attractions, prices, and safety updates.

๐Ÿš€ How to Use

  1. Open the TravelGenie web app.
  2. Select your trip type: Solo, Family, Friends, Business.
  3. Enter destination, dates, budget, and preferences.
  4. Review your AI-generated itinerary with suggestions.
  5. Book flights/hotels directly or save for later.

๐Ÿ‘ฅ Who Itโ€™s For

  • First-time travelers looking for stress-free planning.
  • Frequent travelers wanting quick, smart suggestions.
  • Anyone tired of juggling multiple booking and guide apps.

๐Ÿค Contributing Got ideas? Found an issue? Want to integrate more APIs? Contributions are welcome โ€” fork the repo and send a pull request!

โœจ Let TravelGenie take care of the planning, so you can focus on making memories.

Tech Stack Backend: Node.js + Express (for API endpoints)

AI Layer: OpenAI GPT with function calling enabled

Database for RAG:

Option 1: Pinecone / Weaviate / FAISS with pre-stored travel guides

Option 2: A static JSON travel dataset if you donโ€™t want to pay for APIs

APIs (Optional):

Google Places API (attractions, restaurants)

Skyscanner API (flights)

Booking.com API (hotels)

Frontend: Simple React app with chat interface

Workflow User sends a request: "Plan a 3-day trip to Kyoto in September with โ‚น20,000"

Backend:

Builds a prompt for GPT.

Queries RAG layer to get relevant travel info.

Model:

Combines user input + RAG context.

Returns Structured JSON itinerary.

If user says: "Book my hotel" โ†’ Function Calling triggers backend booking logic.

About

This is your first repository

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published