easygptjs

1.5.0 • Public • Published

easygptjs

EasyGPT provides free access to text generation models, now in JavaScript!

No API key required.

Installation

npm install easygptjs

Usage

import EasyGPT35 from "easygptjs";

// No API key required.
const openai = new EasyGPT35();

async function main() {
  const chatCompletion = await openai.chat.completions.create("Hello world!");
  console.log(chatCompletion);
}

main();

Readme

Keywords

none

Package Sidebar

Install

npm i easygptjs

Weekly Downloads

0

Version

1.5.0

License

ISC

Unpacked Size

2.95 kB

Total Files

5

Last publish

Collaborators

  • miguelnto