This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

@tockawa/openai-plugin
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

OpenAI Plugin Node.js Library

PROJECT IN EARLY DEVELOPMENT

A simple modification in the official OpenAI module that gives the possibility to use plugins that follow the OpenAI standards together with the API.

Important note: this library is meant for server-side usage only, as using it in client-side browser code will expose your secret API key. See here for more details.

Installation

npm install @tockawa/openai-plugin

Usage

The library needs to be configured with your account's secret api key, which is available on the website. We recommend setting as an environment variable due to the security risk of having it in your source code.

You can find examples of how to use the library in the examples directory.

Check out the full API documentation for examples of all the available functions.

TODO

  • support to auth
  • support to all openapi versions
  • support to predefined variables(like $userId)
  • debug mode
  • token management
  • Fix method in sdk generation
  • make tamplates and handles more modular

Thanks

Thank you to ceifa for creating and maintaining the original unofficial openai npm package before we released this official library! ceifa's original package has been renamed to gpt-x.

Readme

Keywords

none

Package Sidebar

Install

npm i @tockawa/openai-plugin

Weekly Downloads

6

Version

1.0.1

License

ISC

Unpacked Size

46.9 kB

Total Files

23

Last publish

Collaborators

  • tockawa