TravelAPI is a Django server API specifically designed to enhance travel recommendations for trajects and plannings using advanced techniques like retrieval-augmented generation RAG. The primary goal of TravelAPI is to refine the language model (LLM), particularly leveraging OpenAI in our case, to provide users with highly specific and accurate recommendations for restaurants and hotels and activities to do in Morocco. check now Rihla
We utilized two datasets:
- one for restaurants sourced from Minister of Tourism and Agriculture
- another for hotels from Ministry of Agriculture
-
Real-World Data: TravelAPI relies on official data provided by the Minister of Tourism and Agriculture for restaurants and hotels. This data is transformed into a chroma format, creating a vector database using encoding techniques provided by OpenAI. This enables TravelAPI to effectively represent textual information numerically.
-
User Preferences: Users provide their preferences such as budget, number of travelers, time constraints, and objectives to guide the recommendation process.
-
AI-Powered Framework: TravelAPI leverages Langchain to provide the search response, which is then given to the OpenAI model GPT-3.5 Turbo to process the result with other fields in a JSON format such as activities, description, and food.
-
Enriched Responses: The responses generated by TravelAPI are enriched with additional activities and detailed descriptions, enhancing the overall travel planning experience for users. this picture explain the process:
To get started with TravelAPI, simply follow these steps:
-
Installation: Install TravelAPI by following the installation instructions on the docker file.
-
Set Preferences: Provide your travel preferences, including budget, number of travelers, time constraints, and objectives.
-
Explore Recommendations: Explore the tailored recommendations provided by TravelAPI based on your preferences. ##Other Interested Features:
In addition to travel recommendations, TravelAPI offers the following features:
- Guides Assistance: We provide users with personalized guides to help them navigate their travel experiences in Morocco.
- Match Information: Users can access information about matches happening in Morocco during their travel period.
TravelAPI aims to deliver tailored recommendations aligned closely with users' preferences and requirements, all powered by real data and cutting-edge AI technology.
Feel free to contribute, suggest improvements, or report issues by creating an issue or submitting a pull request.