Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI Travel Advisor

A conversational travel-planning chatbot built with Streamlit and the OpenAI API. It asks follow-up questions to gather trip details (destination, duration, interests, constraints), asks for clarification when the user's input is contradictory or ambiguous, and generates a full itinerary once it has enough information.

Features

  • Multi-turn conversation with retained history (each request re-sends prior context, since the model itself is stateless)
  • Follow-up questioning until destination, duration, and interests are known
  • Contradiction/ambiguity detection before generating a plan
  • Generated itinerary includes: trip title, summary, day-by-day plan, practical tips, and an estimated budget
  • Live token usage and estimated cost tracking (gpt-4o-mini pricing) in the sidebar

Tech Stack

Python, Streamlit, OpenAI API (gpt-4o-mini)

Run locally

pip install -r requirements.txt
# add your OPENAI_API_KEY to a .env file
streamlit run app.py

About

Conversational AI travel-planning chatbot built with Streamlit and the OpenAI API — gathers trip details through follow-up questions and generates a full itinerary with budget estimate.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages