Examples and resources for creating ChatGPT plugins in TypeScript.
This repo contains the chatgpt-plugin NPM package, with TS types and utilities for building ChatGPT Plugins with TypeScript.
It also contains several high quality example plugins that you can use as a template for building your own plugins. The goal is to add more examples using different OpenAPI frameworks and hosting providers over time. Currently, all of the examples use Cloudflare Workers, and here's one using Vercel edge functions.
If there's something missing that you'd like to see, please open an issue or join our ChatGPT Hackers community on Discord, with over 8000 developers who are building cool stuff with AI!
npm install chatgpt-plugin
# or
yarn add chatgpt-plugin
# or
pnpm install chatgpt-plugin
TS code for all example plugins can be found in the examples directory.
Example ChatGPT retrieval plugin to search across all of the Lex Fridman Podcast episodes – powered by Dexa AI.
This is a really simple example plugin that converts text to ASCII art. It's a great template to start building your own plugins.
name_for_human
name_for_model
description_for_human
description_for_model
defineConfig
function to help validate ai-plugin.json
configs?MIT © Travis Fischer
If you found this project interesting, please consider sponsoring me or following me on twitter