/trip-plan-ia-api

API that generates travel itineraries using the gpt chat api

Primary LanguageJava

Trip Plan IA API

Java spring

About

This is an application that uses the gpt chat api to generate travel itineraries

Installation

  1. Clone this repository:
   git clone https://github.com/aldojunior990/trip-plan-ia-api.git
  1. Install dependencies with Maven.

  2. Generate an OpenAI key in: https://platform.openai.com/

  3. Save the generated key in aplication.properties.

Params

 currentLocal - Your city.
 destination - City you want to visit.
 countOfDays - Number of days you will spend in the city.
 travelDate - Date of your trip.

Endpoints

 GET roadmap/generate - Generate script
.