CakeCrusher / openplugin

Seamlessly integrate with OpenAI's ChatGPT plugins via API (or client), offering the same powerful functionality as the ChatGPT api + plugins!
Apache License 2.0
211 stars 13 forks source link
chatbot chatgpt client openai openai-api openai-plugin package plugins pypi
Your alt text

OpenPlugin

Integrate with OpenAI's ChatGPT plugins via API.
The same powerful functionality as the ChatGPT api + plugins!

Join Discord Server (now OpenGPTs)

OpenPlugin official client, openplugin.io, is now in closed beta!

My Patreon

Supported plugins PLUGINS.md

demo

https://github.com/CakeCrusher/openplugin/assets/37946988/d35c704d-a007-4e5f-b3ea-03df264c0f4e

Project structure

This repo contains 4 packages: (pypi)openplugincore, (npm) openplugincore (pypi)openpluginclient, and (npm)openpluginclient.

Examples

Core

This is the meat of OpenPlugin, it contains all tools you need to interface with ChatGPT plugins as you do on ChatGPT Pro.

PyPI Core Package

NPM Core Package

Client

This outsources the request to an OpenPlugin API that uses openpluginclient, so you dont need to worry about the OpenAI api key. You will need to pass in one of the following early access token: __extra__-c22a34e2-89a8-48b2-8474-c664b577526b, __extra__-692df72b-ec3f-49e4-a1ce-fb1fbc34aebd

PyPI Client Package

NPM Client Package

high level system design / docs

image

Are you breaching OpenAI Terms of Service by using OpenPlugin?

No, I have gone through the Terms of Service particularly "service terms" and "usage policies" and here are the takeaways. As with most marketplace type things, the host, OpenAI, is not accountable for the plugins and their use outside of their platform chat.openai.com. They also never mention anything about accessing their data that is not explicitly shown to the user, therefore accessing their plugins' payload (how OpenPlugin gets knows about the marketplace plugins), which is used for them to display the plugins, is not against their ToS.

Primary sources:

https://openai.com/policies/terms-of-use

https://openai.com/policies/usage-policies

https://openai.com/policies/service-terms

Disclaimer

As OpenPlugin is currently in an alpha state, you may run into errors. Despite some light testing being done by migrations not all plugins are thuroughly tested. If you run into any errors, please report them here.

The errors work on a plugin by plugin basis, meaning some will work perfectly while others may not work at all. Some of the errors may be caused by the plugin itself therefore will aso err on https://chat.openai.com/ so double checking would be advisable.

Join Discord for updates: https://discord.gg/AfHcVutBUT