A chatbot that utilizes RAG methodology to retrieve real images of places for travel itineraries or to identify famous landmarks in images. By using this interface, users can either:
- Enter a text description of their desired trip, or
- Upload an image of a tourist site to identify its location
- Text-based Itinerary Generation: Users can type in their desired travel destination and duration, and the application will generate a detailed travel plan with suggestions for places to visit alongside their images.
- Image-based Landmark Identification: Users can upload an image of a famous tourist landmark. The system identifies the location and generates an appropriate response.
- Interactive User Interface: Powered by Streamlit, providing a simple and intuitive interface.
- Clone the repository to your local machine:
git clone https://github.com/MichaelFish-github/TravelRAG.git
- Create a Conda environment using the provided
environment.ymlfile:conda env create -f environment.yml
- Activate the environment:
conda activate travelrag
- To launch the Travel Guide UI, run the following command in your terminal:
streamlit run .\UI\travel_guide_ui.py
- Once executed, the Streamlit app will open in your default web browser.
-
Text-Based Travel Itinerary Generation:
- Enter a city name and trip duration (e.g., "3 days in Rome").
- Click Generate Itinerary to get a day-by-day plan of what to do in that city.
-
Image-Based Location Identification:
- Upload an image of a landmark using the drag-and-drop functionality or by browsing files.
- Click Identify location to detect the location and receive relevant travel suggestions.
