๐งณ 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?
๐ง 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
- Open the TravelGenie web app.
- Select your trip type: Solo, Family, Friends, Business.
- Enter destination, dates, budget, and preferences.
- Review your AI-generated itinerary with suggestions.
- 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.