1.0.4 • Published 1 year ago

tour-planner-gpt v1.0.4

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year 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

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago