An intelligent travel planning application that uses AI to help you plan your perfect trip. Simply describe your travel plans using voice or text, and get personalized recommendations for flights, hotels, car rentals, and attractions.
- ✍️ Text Input: Type your travel requirements in natural language
- 🤖 AI Processing: Uses OpenAI GPT-4 to understand and extract trip details
- 🔍 Real-time Search: Searches for flights, hotels, and car rentals using Tavily API
- 📋 Comprehensive Plans: Generates detailed itineraries with budget estimates
- 🎯 Smart Recommendations: Suggests points of interest and activities
- 🖥️ UI Built with Streamlit: A clean and interactive web interface powered by https://streamlit.io/
- Type your travel information in the text boxes
- Click "🎯 Plan My Trip from Text"
- Frontend: Streamlit - https://streamlit.io/
- AI Models:
- OpenAI GPT-4 for natural language processing and trip planning
- Search APIs:
- Tavily API for real-time travel information
- Backend: Python with various libraries for data processing
To run this application, you need the following API keys:
-
Tavily API Key (
TAVILY_API_KEY)- Sign up at Tavily.com
- Used for real-time travel search
-
OpenAI API Key (
OPENAI_API_KEY)- Get from OpenAI Platform
- Used for AI processing and Whisper transcription
- Go to your Space settings
- Click on "Variables and secrets"
- Add the API keys as secrets:
TAVILY_API_KEYOPENAI_API_KEY
├── app.py # Main application including streamlit ├── requirements.txt # Python dependencies ├── README.md # This file └── .env files (local) # Environment variables (not included in deployment) ├── TAVILY_API_KEY.env ├── OPENAI_API_KEY.env
-
Clone the repository
-
Install dependencies:
pip install -r requirements.txt
-
Create .env files with your API keys
-
Run:
python app.py
- Fork this repository
- Create a new Hugging Face Space
- Connect your GitHub repository
- Set the required API keys in Space settings
- The app will automatically deploy
- This app requires active API keys to function
- Transcription and AI processing require OpenAI credits
- Search functionality requires Tavily API access
- Some features may be rate-limited based on your API plan
Feel free to submit issues, feature requests, or pull requests to improve this application.
📄 License
This project is open source and available under the MIT License.
Happy Travels! 🌍