Skip to content

Latest commit

 

History

History

ai_travel_agent

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

🛫 AI Travel Agent

This Streamlit app is an AI-powered travel Agent that generates personalized travel itineraries using OpenAI GPT-4o. It automates the process of researching, planning, and organizing your dream vacation, allowing you to explore exciting destinations with ease.

Features

  • Research and discover exciting travel destinations, activities, and accommodations
  • Customize your itinerary based on the number of days you want to travel
  • Utilize the power of GPT-4o to generate intelligent and personalized travel plans

How to get Started?

  1. Clone the GitHub repository
git clone https://github.com/Shubhamsaboo/awesome-llm-apps.git
cd awesome-llm-apps/ai_agent_tutorials/ai_travel_agent
  1. Install the required dependencies:
pip install -r requirements.txt
  1. Get your OpenAI API Key
  • Sign up for an OpenAI account (or the LLM provider of your choice) and obtain your API key.
  1. Get your SerpAPI Key
  1. Run the Streamlit App
streamlit run travel_agent.py

How it Works?

The AI Travel Agent has two main components:

  • Researcher: Responsible for generating search terms based on the user's destination and travel duration, and searching the web for relevant activities and accommodations using SerpAPI.
  • Planner: Takes the research results and user preferences to generate a personalized draft itinerary that includes suggested activiti