1.0.4 • Published 2 years ago

tour-planner-gpt v1.0.4

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

🔗 Installation

npm install tour-planner-gpt

Quick Start

Import the package.

import tourPlanner from "tour-planner-gpt";

Create a new instance of tourPlanner.

const gpt = new tourPlanner();

Set your API key.

gpt.setApiKey("your API key goes here.");

Create one for free @ https://platform.openai.com/account/api-keys

Basic Example

// Add a prompt you would like to ask to ChatGPT and get response from the ChatGPT.
const response = await gpt.getTourPackageDetails(startDate, endDate, country, travelers, city, price);

Created By

Raj Karia - Github / LinkedIn

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago