chatgpt-plugin-ts  by transitive-bullshit

TypeScript library for ChatGPT plugin development

Created 2 years ago
544 stars

Top 58.7% on SourcePulse

GitHubView on GitHub
Project Summary

This repository provides the chatgpt-plugin NPM package, offering TypeScript types and utilities for developing ChatGPT Plugins. It aims to simplify plugin creation for developers by offering example implementations and resources, with a focus on Cloudflare Workers and Vercel edge functions.

How It Works

The project centers around the chatgpt-plugin NPM package, which includes TypeScript definitions and helper functions for interacting with the ChatGPT Plugin API. It leverages OpenAPI specifications for defining plugin capabilities and provides ready-to-use examples demonstrating common plugin patterns, such as data retrieval and text manipulation.

Quick Start & Requirements

  • Primary install: npm install chatgpt-plugin
  • Prerequisites: Node.js, npm/yarn/pnpm.
  • Example plugins are deployable on Cloudflare Workers or Vercel edge functions.
  • Resources: Examples Directory

Highlighted Details

  • Includes the chatgpt-plugin NPM package with TS types and utilities.
  • Features example plugins like a Lex Fridman Podcast search and an ASCII art generator.
  • Supports deployment on Cloudflare Workers and Vercel edge functions.
  • Aims to expand examples with different OpenAPI frameworks and hosting providers.

Maintenance & Community

Licensing & Compatibility

  • License: MIT
  • Compatible with commercial use and closed-source projects.

Limitations & Caveats

The ai-plugin.json configuration has character limits for human and model descriptions, and API response bodies are capped at 100k characters, with these limits potentially decreasing over time. A defineConfig function for validating ai-plugin.json is noted as a future TODO.

Health Check
Last Commit

2 years ago

Responsiveness

Inactive

Pull Requests (30d)
0
Issues (30d)
0
Star History
0 stars in the last 30 days

Explore Similar Projects

Starred by Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems"), Mckay Wrigley Mckay Wrigley(Founder of Takeoff AI), and
1 more.

chatGPTBox by ChatGPTBox-dev

0.1%
11k
Browser extension for ChatGPT integration
Created 2 years ago
Updated 6 days ago
Feedback? Help us improve.