Types and utilities for building ChatGPT Plugins with TypeScript.
Currently, this package only contains types for .well-known/ai-plugin.json
manifest files. We're actively working on adding more utilities to validate plugin manifests and OpenAPI specs.
We'll also be consolidating best practices as we develop more plugins.
The goals of this package are to:
- Help developers build ChatGPT Plugins with TS
- Distill best practices for building ChatGPT Plugins with TS
- Be agnostic to the underlying server framework (e.g. itty-router, Express, Fastify, etc)
- Be agnostic to the underlying hosting provider (e.g. Cloudflare, Vercel, AWS, etc)
Framework-specific and hosting provider-specific examples can be found in the example plugins folder.
See the main readme for more details.
npm install chatgpt-plugin
# or
yarn add chatgpt-plugin
# or
pnpm install chatgpt-plugin
import {
type AIPluginManifest,
defineAIPluginManifest,
isValidChatGPTIPAddress
} from 'chatgpt-plugin'
// see the example plugins for more details
MIT © Travis Fischer
If you found this project interesting, please consider sponsoring me or following me on twitter