Skip to content

TravelAPI is a Django Rest API designed to enhance travel recommendations for trajects and planning using retrieval-augmented generation (RAG) to refine the OpenAI model GPT-3.5-turbo, facilitated by the Langchain framework.

Notifications You must be signed in to change notification settings

safouat/TravelApi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to TravelAPI!

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

Data:

We utilized two datasets:

Front End:

Rihla FrontEnd

How It Works

  • 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: OPENAI

Getting Started

To get started with TravelAPI, simply follow these steps:

  1. Installation: Install TravelAPI by following the installation instructions on the docker file.

  2. Set Preferences: Provide your travel preferences, including budget, number of travelers, time constraints, and objectives.

  3. Explore Recommendations: Explore the tailored recommendations provided by TravelAPI based on your preferences. ##Other Interested Features:

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.

About

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.

About

TravelAPI is a Django Rest API designed to enhance travel recommendations for trajects and planning using retrieval-augmented generation (RAG) to refine the OpenAI model GPT-3.5-turbo, facilitated by the Langchain framework.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published