How puneethkumarms/ai-powered-travel-planner-for-students works
This is a Streamlit travel-planning app for students. A user enters trip details and requests an itinerary; the app sends those preferences to Gemini, geocodes the origin and destination, and displays a Folium map and the generated itinerary. Budget, dates, and interests shape the itinerary prompt, while the map is built from available coordinates. The runtime is concentrated in app.py, so its distinct responsibilities are shown as separate components sharing that path. Relationships are based on the app.py excerpt; the map and geocoding depend on external services and libraries.
Main entry points: app.py Streamlit app
Components 9
Trip experience
- Streamlit app
app.py - Trip inputs
app.py
Itinerary planning
- Itinerary generation
app.py - Gemini API
- Itinerary display
app.py
Location and map
- Location geocoding
app.py - Nominatim service
- Map display
app.py
Other components
- Traveler
Connections 11
- Traveler → Trip inputs: enters trip details
app.py - Traveler → Streamlit app: uses app
README.md - Streamlit app → Trip inputs: renders inputs
app.py - Streamlit app → Itinerary generation: calls generator
app.py - Itinerary generation → Gemini API: requests itinerary
app.py - Streamlit app → Location geocoding: geocodes locations
app.py - Location geocoding → Nominatim service: queries locations
app.py - Streamlit app → Map display: renders map
app.py - Streamlit app → Itinerary display: displays itinerary
app.py - Itinerary generation → Itinerary display: returns text
app.py - Location geocoding → Map display: provides coordinates
app.py