GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com โ€” GitHub - FarazF19/Travel-Assistant-Agent-OpenAI-SDK: AI-powered travel assistant built with Streamlit and OpenAI, offering personalized travel plans, flight options, and hotel recommendations based on user preferences.

BranchesTags
Open more actions menu

Latest commit

 

History

8 Commits
8 Commits

Folders and files

NameName
Last commit message
Last commit date
__pycache__
__pycache__
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
requirements.txt
requirements.txt
 
 
v1_basic_agent.py
v1_basic_agent.py
 
 
v2_structured_output.py
v2_structured_output.py
 
 
v3_tool_calls.py
v3_tool_calls.py
 
 
v4_handoffs.py
v4_handoffs.py
 
 
v5_guardrails.py
v5_guardrails.py
 
 
v6_streamlit_agent.py
v6_streamlit_agent.py
 
 

Repository files navigation

โœˆ๏ธ Travel Planner Assistant

Overview

Travel Planner Assistant is an AI-powered web application that helps users plan their travels by offering personalized travel plans, flight recommendations, and hotel suggestions. Built with Streamlit and the OpenAI Agents SDK, this assistant tailors travel options based on user preferences such as budget, preferred airlines, and hotel amenities.

๐Ÿš€ Features

  • Personalized Travel Plans: Generate custom travel itineraries based on your preferences.
  • Flight & Hotel Recommendations: Get tailored suggestions for flights and hotels with key details.
  • Interactive Chat: Ask about destinations, flights, and hotels in natural language.
  • Save Preferences: Customize and save your travel preferences for future recommendations.
  • Instant Updates: Get responses quickly with seamless AI-driven recommendations.

๐Ÿ› ๏ธ Technologies

  • Streamlit: Fast web app development framework.
  • OpenAI Agents SDK: AI-powered agents for decision-making and recommendations.
  • Asyncio: Asynchronous programming for efficient handling of tasks.
  • UUID: Generate unique identifiers for users and sessions.

๐Ÿ“ Installation

Prerequisites

  • Python 3.8+
  • pip

Steps to Set Up

  1. Clone the repository:
    git clone https://github.com/FarazF19/OpenAI-Agent-SDK.git
    cd travel-planner-assistant
    Install dependencies:
    pip install -r requirements.txt Run the app:

streamlit run app.py Open the app at http://localhost:8501 in your browser.

๐Ÿ’ฌ Usage

How to Interact

Start New Conversation: Reset chat history and start fresh.

Ask About Destinations: โ€œWhere should I visit in Europe?โ€

Flight & Hotel Recommendations: โ€œFind me a flight to New York for June 1stโ€ or โ€œRecommend a hotel in Paris with Wi-Fi and a pool.โ€

Set Preferences: Choose preferred airlines, hotel amenities, and budget.

๐Ÿ”ง Customizing Preferences

Airlines: Choose from top airlines like SkyWays, Delta, and more.

Hotel Amenities: Select must-have amenities like Wi-Fi, Pool, Gym, etc.

Budget: Set your travel budget from budget, mid-range, to luxury.

๐Ÿ› ๏ธ Code Overview

app.py: The Streamlit app that handles user input, displays the chat interface, and processes responses.

agents.py: Contains the logic for the AI agent that generates travel plans and recommendations.

v5_guardrails.py: Defines the travel agent and user context, handling interaction with the OpenAI SDK.

๐ŸŒฑ Future Enhancements

Real-time Data Integration: Live flight and hotel prices.

User Profiles: Save preferences across sessions.

More Features: Itinerary planning, activity suggestions, and budgeting.

๐Ÿ’ก Contributing Feel free to fork the repository and submit pull requests. We welcome enhancements and bug fixes!

๐Ÿ“œ License MIT License - see the LICENSE file for details.

Powered by OpenAI Agents SDK | Built with Streamlit | โœˆ๏ธ Plan your next adventure today!

About

AI-powered travel assistant built with Streamlit and OpenAI, offering personalized travel plans, flight options, and hotel recommendations based on user preferences.

Topics

agentsai-agentschatbotflight-recommendationsopenaiopenai-agent-sdkpersonalized-travelpythonstreamlittravel-apptravel-assistanttravel-planner

Resources

Readme
Activity

Stars

3 stars

Watchers

2 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402792 โ€” GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800ร—600. No cookies required.