Last week, OpenAI announced support for plugins. According to the Documentation, to develop plugins you need to host two files:
yourdomain.com/.well-known/ai-plugin.json
: contains metadata for the plugin, including the name and two descriptions of its function - one for the model and one for human users.- An OpenAPI specification that lists the routes the model has access to, along with natural language descriptions of how to call them. This can be hosted anywhere, and its location is specified by the api/url field in the above file.
However, only a few specs are publicly available (e.g. Wolfram Alpha). To extract the rest of them, you can perform a simple jailbreak to get the model to repeat the specs for any plugin.
The instructions from these specs are represented in the model's system prompt as Typescript namespaces - detailed blog post here. This repository contains the Typescript-ified specs for every plugin currently available on the platform.