Skip to content

kamalika0363/PS4

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 

Repository files navigation

PS-4

  • This Itienarary Application uses OpenAI Text Completion Model "text-davinci-002" which takes Destination, Trip Type and Trip Purpose as Prompt and generates Itinerary day-by-day based on the start date and end date of the trip.
  • Later the Itinerary can be Saved in PDF format to access it in offline mode.

Screenshot

screenshot


To Run this Itinerary

Installations

  • Python3
  • pip (latest version 23.0.1)

Libraries

  1. openai (Access API)

    pip install openai
  2. tkinter (For UI written in python, would not work in notebooks like Jupyter Lab or Google Colab)

    pip install tkinter
  3. reportlab (To Generate PDF)

    pip install reportlab

To Generate the Itienerary

  1. Visit OpenAI Website to generate an API-Key (https://platform.openai.com/account/api-keys)
  2. Replace the OpenAI-API-KEY in itineraryF.py file with the new key generated to access the text-davinci-002 model.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published