Skip to content

rathod-0007/Agentic-TravX

Repository files navigation

Agentic TravX – AI-Powered Trip Planning Platform

Python Streamlit LangChain LangChain Community LangChain Experimental LangGraph LangChain Groq LangChain OpenAI LangChain Tavily LangChain Google Community LangChain Google Places API FastAPI Uvicorn Python Dotenv Pydantic HTTPX Requests Groq API Google Places API Google Weather API ExchangeRates API Google API

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.

Features

  • 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

Setup Instructions

1. Clone the repository

git clone https://github.com/yourusername/ai-trip-planner.git
cd ai-trip-planner

2. Install Dependencies

pip install streamlit requests pandas numpy folium langchain openai

3. Configure API Keys

# 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'

4. Run the Application

streamlit run app.py

This will start the AI Trip Planner in your browser at http://localhost:8501.

Usage

Basic Example

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)

Advanced Example with Custom Constraints

custom_plan = planner.generate_itinerary(
    budget=1500,
    transportation="public",
    avoid=["museums on Monday"],
)
print(custom_plan)

Streamlit Web Interface

  • 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

References

Author

Rathod Pavan Kumar Naik

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors