Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implementing Prototype Engine for Proxy Price Calculation of Travel Plan #18

Open
stefano-polo opened this issue Jul 23, 2023 · 1 comment · Fixed by #24
Open

Implementing Prototype Engine for Proxy Price Calculation of Travel Plan #18

stefano-polo opened this issue Jul 23, 2023 · 1 comment · Fixed by #24
Assignees

Comments

@stefano-polo
Copy link
Collaborator

Objective:

The goal of this issue is to develop a prototype engine that calculates a proxy price for the travel plan generated by the LLM. The calculated price should primarily consider flight and accommodation costs. The engine should use a unified API for obtaining hotel and flight prices, starting with TripAdvisor as the initial choice. The ultimate target is to fetch flight prices from Skyscanner and hotel prices from Booking.com and Airbnb. Additionally, the prototype should display links to the selected flights and hotels on the frontend of the travel plan.

Features to Implement:

  • Proxy Price Calculation: Develop a mechanism within the engine that computes an estimated cost for the travel plan based on the flight and accommodation expenses.

  • Unified API Integration: Initially, integrate the engine with the TripAdvisor API to retrieve hotel and flight prices. The engine should be designed with flexibility to later incorporate Skyscanner API for flights and Booking.com and Airbnb APIs for hotels.

  • Flight Price Retrieval: Implement functionality to fetch flight prices from the appropriate API (e.g., Skyscanner) based on the user's specified travel dates and destinations.

  • Hotel Price Retrieval: Implement functionality to retrieve hotel prices from the selected API(s) (e.g., Booking.com and Airbnb) based on the user's desired accommodation options.

  • Frontend Link Generation: Ensure that the prototype generates relevant links to the chosen flights and hotels on the travel plan frontend. These links will provide users with direct access to booking options.

@RobertoCorti RobertoCorti linked a pull request Jul 30, 2023 that will close this issue
@RobertoCorti RobertoCorti reopened this Jul 30, 2023
@molyswu
Copy link

molyswu commented Dec 23, 2023

from gptravel.core.services.geocoder import GeoCoder
ModuleNotFoundError: No module named 'gptravel'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants