The AI Trip Planner is an intelligent travel planning system powered by AI. It provides personalized itineraries, recommended attractions, hotels, and transportation suggestions, and adapts dynamically to user preferences.
- Personalized trip planning based on user preferences
- AI-powered itinerary generation for cities worldwide
- Recommendations for attractions, restaurants, and accommodations
- Dynamic adjustment of trip plan based on time, budget, and interests
- Web interface with interactive map and calendar view
- Natural language queries for travel suggestions
git clone https://github.com/yourusername/ai-trip-planner.git
cd ai-trip-plannerpip install streamlit requests pandas numpy folium langchain openai# OpenAI API Key
import os
os.environ['OPENAI_API_KEY'] = 'YOUR_OPENAI_API_KEY'
# Optional: Any other APIs like Google Maps or TripAdvisor API
os.environ['GOOGLE_MAPS_API_KEY'] = 'YOUR_GOOGLE_MAPS_API_KEY'streamlit run app.pyThis will start the AI Trip Planner in your browser at http://localhost:8501.
from ai_trip_planner import TripPlanner
# Initialize planner
planner = TripPlanner(user_preferences={
"city": "Paris",
"days": 5,
"interests": ["museum", "food", "shopping"]
})
# Generate itinerary
itinerary = planner.generate_itinerary()
print(itinerary)custom_plan = planner.generate_itinerary(
budget=1500,
transportation="public",
avoid=["museums on Monday"],
)
print(custom_plan)- Upload preferences or enter city, days, and interests
- Generate AI-powered trip plan
- Visualize locations on an interactive map
- Export itinerary to PDF or shareable format
Rathod Pavan Kumar Naik
- Email: bt22cse111@iiitn.ac.in
- GitHub: rathod-pavan