transitive-bullshit/chatgpt-plugin-ts
关于
使用 JS/TS 开始构建 ChatGPT 插件所需的一切 🔥
人工智能与机器学习实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文
ChatGPT Plugin TS
Examples and resources for creating ChatGPT plugins in TypeScript.
Intro
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!
Install
npm install chatgpt-plugin
# or
yarn add chatgpt-plugin
# or
pnpm install chatgpt-plugin
Example Plugins
TS code for all example plugins can be found in the examples directory.
Dexa Lex Fridman Plugin
Example ChatGPT retrieval plugin to search across all of the Lex Fridman Podcast episodes – powered by Dexa AI.
- source code
- launch tweet
- built using CF workers
ASCII Art Plugin
This is a really simple example plugin that converts text to ASCII art. It's a great template to start building your own plugins.
- source code
- launch tweet
- built using CF workers
Notes
name_for_human- 30 character max
name_for_model- 50 character max
description_for_human- 120 character max
description_for_model- 8000 character max
- Max decreases over time
- API response body length
- 100k character limit
- Decreases over time
- Subject to limitations
- TODO:
defineConfigfunction to help validateai-plugin.jsonconfigs?
License
MIT © Travis Fischer
If you found this project interesting, please consider sponsoring me or following me on twitter
探索相关项目
加载中…