chatgpt-plugin-ts  by transitive-bullshit

TypeScript library for ChatGPT plugin development

created 2 years ago
544 stars

Top 59.4% on sourcepulse

GitHubView on GitHub
1 Expert Loves This Project
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
1 stars in the last 90 days

Explore Similar Projects

Starred by Peter Norvig Peter Norvig(Author of Artificial Intelligence: A Modern Approach; Research Director at Google), Chip Huyen Chip Huyen(Author of AI Engineering, Designing Machine Learning Systems), and
2 more.

aisuite by andrewyng

0.2%
12k
Unified interface for multiple generative AI providers
created 1 year ago
updated 3 days ago
Feedback? Help us improve.